Dear all,
I am using Sushi in order to plot some of our HiC data. I am reading a matrix of interactions, but I am getting the following error when using plotHic() function. Any help would be very much appreciated. Thank you.
> y<-read.table("matrix-forR",header=TRUE, row.names=1)
> y[1:3,1:3]
X0 X200000 X400000
0 0 0 0
200000 0 0 0
400000 0 0 0
chrom = "chr1"
chromstart = 50000000
chromend = 55000000
plotHic(y,chrom,chromstart,chromend)
phic = plotHic(y,chrom,chromstart,chromend)
Error in seq.default(min(vec), max(vec), length.out = num) :
'from' cannot be NA, NaN or infinite
