Footsteps on my way !
perl/linux/测序分析

R initializeScenic 出错

运行R Scenic 初始化报错:

Initialize settings 初始设置,导入评分数据库
org <- "hgnc"
mydbDIR <- "cisTarget_database"
dbs <- c("hg38__refseq-r80__500bp_up_and_100bp_down_tss.mc9nr.feather",
"hg38__refseq-r80__10kb_up_and_down_tss.mc9nr.feather")
names(dbs) <- c("500bp", "10kb")

scenicOptions <- initializeScenic(org=org, 
dbDir= mydbDIR,
dbs = dbs,
datasetTitle = "HNSCC",
nCores=40)

报错类似:

Motif databases selected:
hg38-500bp-upstream-7species.mc9nr.feather
hg38-tss-centered-10kb-7species.mc9nr.feather

[1] "there is no package called ‘arrow’"
[1] "there is no package called ‘arrow’"

Warning message in initializeScenic(org = "hgnc", dbDir = dbDir, nCores = 10):
“It was not possible to load the following databses; check whether they are downloaded correctly:
hg19-500bp-upstream-7species.mc9nr.feather
hg19-tss-centered-10kb-7species.mc9nr.feather”
Warning message in RcisTarget::importRankings(dbFile, columns = rnktype):
“The following columns are missing from the database: features”
Warning message in RcisTarget::importRankings(dbFile, columns = rnktype):
“The following columns are missing from the database: features”

Thanks for your help

原因是没有安装好 ‘arrow’包,解决办法:

install.package("arrow") #正常情况下由于网络原因会安装不完全
library(arrow)   #导致加载包有警告,按提示输入一下内容
install_arrow(verbose=TRUE)  #可能也会由于网络原因安装虽然有部分报错依然成功,但是执行初始化步骤依然报错 "Cannot call io___ReadableFile__Open(). See https://arrow.apache.org/docs/r/articles/install.html,则可进行多次安装(或者挂全局代理),直至安装成功

 

#https://github.com/aertslab/SCENIC/issues/168

 

尊重他人劳动成果,转载请注明出处:Bluesky's blog » R initializeScenic 出错

分享到:更多 ()

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址