Searched a while for my questions below of using ExomeDepth, I thought this would be the best place to ask. I have two questions related to the use of the software:
1: How many reference exomes I should use: on the same batch I have 30 samples, should I use as most samples as possible as references or just 5 - 10 of them according to the manual?
2: After I selected the reference panel with the code:
my.choice <- select.reference.set (test.counts = my.test, reference.counts = my.reference.set,
bin.length = (ExomeCount.dafr$end - ExomeCount.dafr$start)/1000, n.bins.reduced = 10000)
and printed selected samples with print(my.choice[[1]]), I got only two samples names printed out, but there are ten samples in my.reference.set. How could this happen? There were 3 identical warning messages while computing the likelihoods and fitting the model:
Warning message:
In aod::betabin(data = data, formula = as.formula(formula), random = ~1, :
The data set contains at least one line with weight = 0.
As a beginner of R, I can not understand the warning message. Could you help me to clarify it please?
Thanks a lot.
Yes at some point adding more samples is not useful and the algorithm seems to stop optimizing. So no worries here, it stops after 11 samples or so and selects 4 of them as a reference. All makes sense.