SCENIC
SCENIC copied to clipboard
Please reopen "Problem with initializeScenic() #168"
This issue #168 has started occurring again..
Motif databases selected:
mm10_500bp_up_100bp_down_full_tx_v10_clust.genes_vs_motifs.rankings.feather
mm10_10kbp_up_10kbp_down_full_tx_v10_clust.genes_vs_motifs.rankings.feather
[1] "The index column 'features' is not available in the file."
[1] "The index column 'features' is not available in the file."
Using the column '0610005C13Rik' as feature index for the ranking database.
Error in dplyr::pull()
:
! Can't extract columns that don't exist.
x Column features
doesn't exist.
Run rlang::last_error()
to see where the error occurred.
Warning messages:
1: In initializeScenic(org = org, dbDir = dbDir, dbs = dbs, datasetTitle = myDatasetTitle, :
It was not possible to load the following databses; check whether they are downloaded correctly:
mm10_500bp_up_100bp_down_full_tx_v10_clust.genes_vs_motifs.rankings.feather
mm10_10kbp_up_10kbp_down_full_tx_v10_clust.genes_vs_motifs.rankings.feather
2: In RcisTarget::importRankings(dbFile, columns = rnktype) :
The following columns are missing from the database: features
- Already checked sha1sums and they are ok
- Already using latest version of arrow and dplyr
packageVersion("arrow") [1] '10.0.1' packageVersion("dplyr") [1] '1.0.10'
Could it be that dplyr::pull() has changed in recent versions of dplyr?? here is detailed output of error..
rlang::last_error() <error/vctrs_error_subscript_oob> Error in
dplyr::pull()
: ! Can't extract columns that don't exist. x Columnfeatures
doesn't exist.
Backtrace:
- SCENIC::initializeScenic(...)
- SCENIC::checkAnnots(object, motifAnnot)
- base::lapply(...)
- SCENIC (local) FUN(X[[i]], ...)
- dplyr:::pull.data.frame(nRnks, rnktype)
Run
rlang::last_trace()
to see the full context.
rlang::last_trace() <error/vctrs_error_subscript_oob> Error in
dplyr::pull()
: ! Can't extract columns that don't exist. x Columnfeatures
doesn't exist.
Backtrace: x
- +-SCENIC::initializeScenic(...)
- | -SCENIC::checkAnnots(object, motifAnnot)
- | -base::lapply(...)
- | -SCENIC (local) FUN(X[[i]], ...)
- | +-dplyr::pull(nRnks, rnktype)
- | -dplyr:::pull.data.frame(nRnks, rnktype)
- | -tidyselect::vars_pull(names(.data), !!enquo(var))
- | -tidyselect:::pull_as_location2(...)
- | +-tidyselect:::with_subscript_errors(...)
- | | -rlang::try_fetch(...)
- | | -base::withCallingHandlers(...)
- | -vctrs::vec_as_location2(...)
- | +-vctrs:::result_get(...)
- | -vctrs:::vec_as_location2_result(...)
- | +-base::tryCatch(...)
- | | -base (local) tryCatchList(expr, classes, parentenv, handlers)
- | | -base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
- | | -base (local) doTryCatch(return(expr), name, parentenv, handler)
- | -vctrs::vec_as_location(i, n, names = names, arg = arg, call = call)
- -vctrs (local)
<fn>
() - -vctrs:::stop_subscript_oob(...)
-
\-vctrs:::stop_subscript(...)
-
\-rlang::abort(...)
Please advice how to proceed as few others have reported same issue after #168 has been closed...
Hi, I think the major problem happen on the database downloaded. Feather v1 format is compatible and you can find databases in the feather v1 format in the 'old' directory here: "https://resources.aertslab.org/cistarget/databases/old/" Hope this helps
I am having the same issue. Please advise on how to run this with R4.2+