Entering edit mode
5.6 years ago
Hi, Someone can help me with this, when I run this function I get an error that I can't understand.
my.counts <- getBamCounts(bed.frame = exons.hg19,
+ bam.files = my.bam,
+ include.chr = TRUE)
Parse 1 BAM files
$V1
[1] 2005-742_S33.bam
Levels: 2005-742_S33.bam
Now parsing 1
Error in (function (classes, fdef, mtable) :
unable to find an inherited method for function ‘scanBamHeader’ for signature ‘"list"’
What can I do?
Thanks!
Can you please show the output of
class(...)
when run on whatever variable name you provide tobam.files
? And if it is "list", run alapply(...,class)
on that?