addPeakSet: Add a peak set to an ArchRProject

addPeakSetR Documentation

Add a peak set to an ArchRProject

Description

This function adds a peak set as a GRanges object to a given ArchRProject.

Usage

addPeakSet(
  ArchRProj = NULL,
  peakSet = NULL,
  genomeAnnotation = getGenomeAnnotation(ArchRProj),
  force = FALSE
)

Arguments

ArchRProj

An ArchRProject object.

peakSet

A GRanges object containing the set of regions that define all peaks in the desired peak set.

genomeAnnotation

The genomeAnnotation (see createGenomeAnnotation()) to be used for generating peak metadata such as nucleotide information (GC content) or chromosome sizes.

force

If a peakSet object has already been added to the given ArchRProject, the value of force determines whether or not to overwrite this peakSet.


GreenleafLab/ArchR documentation built on Feb. 28, 2024, 4:17 p.m.