Entering edit mode
10.5 years ago
BarbaraZ
•
0
Hello I'm testing ExomeDepth and I'm doing the tutorial from ExomeDepth-vignette, when I'm creating my reference set I write:
my.choice<-select.reference.set(test.counts=my.matrix[,i],
reference.counts= my.matrix[,-i],
bin.length= (ExomeCount.dafr$end - ExomeCount.dafr$start)/1000,
n.bins.reduced=1000)
Then I receive this message:
Error in my.matrix[, i] : index out of bounds.
Can anybody help me?
Thank you very much
What value is
i
and what are the dimensions ofmy.matrix
?my.matrix
has 185130 rows and 0 columns and obviously nsamples is equal to 0.I've tried to do the same thing with tutorial data and the result is the same
Yeah, a 0-column matrix is empty, so that'll be your problem :)
Thank you very much for your help, I found the error