View source: R/AnnotationPeaks.R
addPeakAnnotations | R Documentation |
This function adds information about which peaks contain input regions to a given ArchRProject. For each peak, a binary value is stored indicating whether each region is observed within the peak region.
addPeakAnnotations(
ArchRProj = NULL,
regions = NULL,
name = "Region",
force = FALSE,
logFile = createLogFile("addPeakAnnotations")
)
ArchRProj |
An |
regions |
A named |
name |
The name of |
force |
A boolean value indicating whether to force the |
logFile |
The path to a file to be used for logging ArchR output. |
# Get Test ArchR Project
proj <- getTestProject()
# Get Motif Positions Can Be Any Interval GRanges List
positions <- getPositions(proj)
# Add Peak Annotations
proj <- addPeakAnnotations(proj, regions = positions)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.