Read the file, produce an InteractionSet
object.
parseTabular(path, sep = '\t')
An InteractionSet object.
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", "hicsample_21.tsv", package = "HiCParser")
object <- parseTabular(path, sep = "\t")
#> Parsing '/__w/_temp/Library/HiCParser/extdata/hicsample_21.tsv'.