getCoAccessibility.Rd
This function obtains co-accessibility data from an ArchRProject.
getCoAccessibility(
ArchRProj = NULL,
corCutOff = 0.5,
resolution = 1,
returnLoops = TRUE
)
An ArchRProject
object.
A numeric describing the minimum numeric peak-to-peak correlation to return.
A numeric describing the bp resolution to use when returning loops. This helps with overplotting of correlated regions.
This only takes affect if returnLoops = TRUE
.
A boolean indicating to return the co-accessibility signal as a GRanges
"loops" object designed for use with
the ArchRBrowser()
or as an ArchRBrowserTrack()
.
# Get Test ArchR Project
proj <- getTestProject()
# Add Co Accessibility
proj <- addCoAccessibility(proj, k = 20)
# Get Co Accessibility
CoA <- getCoAccessibility(proj)