Error running ExomeDepth
1
0
Entering edit mode
10.0 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

Exome R • 2.2k views
ADD COMMENT
1
Entering edit mode

What value is i and what are the dimensions of my.matrix?

ADD REPLY
0
Entering edit mode

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

ADD REPLY
0
Entering edit mode

Yeah, a 0-column matrix is empty, so that'll be your problem :)

ADD REPLY
0
Entering edit mode

Thank you very much for your help, I found the error

ADD REPLY
0
Entering edit mode
10.0 years ago
BarbaraZ • 0

I'm sorry, I'm wrong, the problem is only about my data, probably my dataset in not appropriate

ADD COMMENT

Login before adding your answer.

Traffic: 1067 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6