I have a problem with the HiTC package. I'm following the guide for this package, updated to the 10 of april.
Itry to import the sample file with the commands from the guide but i get an error. This is the code:
data(Nora_5C) E14.bin <- binningC(E14$chrXchrX) exportC(E14.bin , file="E14") <font face="sans-serif, Arial, Verdana, Trebuchet MS"> </font>importC(con="E14.count", xgi="E14_xgi.bed", ygi="E14_ygi.bed")
and the error i get is:
Loading Genomic intervals ... Reading file ... Error in Matrix::sparseMatrix(i = pos1, j = pos2, x = cdata[, 3], dims = c(length(ygi), : NA's in (i,j) are not allowed
Is there someone who use this package and who knows how to solve it? thanks a lot!