Open bfosso opened 1 year ago
Sorry for the delay.
The total column of the read count result depends on the hg19_1kb.bed file, if there are 3 column in this file, then the read count column is the 4th column. If there are 5 column in this file (including bin length and strand information), then the read count column is the 6th column.
Yes, we used the tileHMM package. Sorry, we missed the code for importing the library and we have added it now. Thanks for your reminding !
We have tested the code and it worked well with our datasets. We added a test dataset (mat.rds) for step5 HMM calling NADs. You can try to test with it.
Hi,
I'm trying to replicate your workflow but actually I've found some issue:
mat$V6 <- as.numeric(mat$V6)/sum(as.numeric(mat$V6)) * 100000000
. Actually, bedgraphs have only 4 columns and not 6. I supposed:mat$V6 <- as.numeric(mat$V4)/sum(as.numeric(mat$V4)) * 100000000
. Is that correctly?Error in getClass(Class, where = topenv(parent.frame())) : “TDist” is not a defined class
. It seems you used the tileHMM package but I cannot find any import of this library in your code. Could you please better specify this step.getNAD
function stucks at theviterbiEM
step.Thank you in advance