addPeakSet.Rd
This function adds a peak set as a GRanges object to a given ArchRProject.
addPeakSet(
ArchRProj = NULL,
peakSet = NULL,
genomeAnnotation = getGenomeAnnotation(ArchRProj),
force = FALSE
)
An ArchRProject
object.
A GRanges
object containing the set of regions that define all peaks in the desired peak set.
The genomeAnnotation (see createGenomeAnnotation()
) to be used for generating peak metadata such as nucleotide
information (GC content) or chromosome sizes.
If a peakSet
object has already been added to the given ArchRProject
, the value of force
determines
whether or not to overwrite this peakSet
.