尝试使用CAGEfightR软件包并出现问题“!is.null(names(object))不是TRUE”

时间:2020-06-25 09:04:55

标签: r

我正在尝试将CAGEfightR与我的笼子数据一起使用。 但是,我收到一条错误消息,提示“!is.null(names(object))不是TRUE” #制作数据框

name <-("brain_adult")
BigWigPlus <-("brain_adult_CNhs11796.10084-102B3_strand_plus_counts_hg19_ctss_bw")
BigWigMinus <-("brain_adult_CNhs11796.10084-102B3_strand_minus_counts_hg19_ctss_bw")
Human_Brain <- data.frame(name, BigWigPlus, BigWigMinus)
head(Human_Brain)
# Setup paths to file on hard drive
bw_plus <- file.path("brain_adult_CNhs11796.10084-102B3_strand_plus_counts_hg19_ctss.bw")
bw_minus <- file.path("brain_adult_CNhs11796.10084-102B3_strand_minus_counts_hg19_ctss.bw")
# Save as named BigWigFileList
bw_plus <- BigWigFileList(bw_plus)
bw_minus <- BigWigFileList(bw_minus)
names(bw_plus) <- names(bw_minus) <- Human_Brain$Name
CTSSs <- quantifyCTSSs(plusStrand = bw_plus,minusStrand = bw_minus,genome = seqinfo(bsg),
design = Human_Brain)

这是我收到错误消息的地方。

有人可以帮我吗?

谢谢!

0 个答案:

没有答案