Constructs a HiCDOCDataSet
from a tabular file.
HiCDOCDataSetFromTabular(path, sep = '\t')
path | A path to a tabular file. |
---|---|
sep | The separator of the tabular file. Default to tabulation. |
Accepts a tabular file with chromosome
, position 1
,
position 2
, and multiple replicate columns listing interaction counts.
Null interactions do not have to be listed. Values must be separated by
tabulations. The header must be
chromosome position 1 position 2 x.y x.y x.y ...
with x
replaced by condition names and y
replaced by replicate names.
path <- system.file("extdata", "liver_18_10M_500000.tsv", package = "HiCDOC") object <- HiCDOCDataSetFromTabular(path, sep = '\t')#>