Constructs a HiCDOCDataSet
from a set of
.hic
files.
HiCDOCDataSetFromHiC(paths, replicates, conditions, binSize)
paths | A vector of paths to |
---|---|
replicates | A vector of replicate names repeated along the conditions. |
conditions | A vector of condition names repeated along the replicates. |
binSize | The resolution (span of each position in number of bases) to select within
the |
if (FALSE) { #' # Path to each file paths = c( 'path/to/condition-1.replicate-1.hic', 'path/to/condition-1.replicate-2.hic', 'path/to/condition-2.replicate-1.hic', 'path/to/condition-2.replicate-2.hic', 'path/to/condition-3.replicate-1.hic' ) # Replicate and condition of each file. Can be names instead of numbers. replicates <- c(1, 2, 1, 2, 1) conditions <- c(1, 1, 2, 2, 3) # Resolution to select binSize <- 500000 # Instantiation of data set hic.experiment <- HiCDOCDataSetFromHiC( paths, replicates = replicates, conditions = conditions, binSize = binSize ) }