getFootprints.Rd
This function will get footprints for all samples in a given ArchRProject and return a summarized experiment object that can be used for downstream analyses
getFootprints(
ArchRProj = NULL,
positions = NULL,
plotName = "Plot-Footprints",
groupBy = "Clusters",
useGroups = NULL,
flank = 250,
minCells = 25,
nTop = NULL,
threads = getArchRThreads(),
verbose = TRUE,
logFile = createLogFile("getFootprints")
)
An ArchRProject
object.
A list
or GRangesList
of GRanges
containing the positions to incorporate into the footprint. Each position should be stranded.
The prefix to add to the file name for the output PDF file containing the footprint plots.
The name of the column in cellColData
used in the addGroupCoverages()
function for grouping multiple cells together.
A character vector that is used to select a subset of groups by name from the designated groupBy
column in cellColData
.
This limits the groups used to perform footprinting.
The number of basepairs from the position center (+/-) to consider as the flank.
The minimum number of cells required in a given cell group to permit footprint generation.
The number of genomic regions to consider. Only the top nTop
genomic regions based on the "score" column in the GRanges
object will be considered for the footprint.
The number of threads to be used for parallel computing.
A boolean value that determines whether standard output includes verbose sections.
The path to a file to be used for logging ArchR output.
# Get Test ArchR Project
proj <- getTestProject()
# Get Motif Positions
positions <- getPositions(proj)
# Get Footprints
seFoot <- getFootprints(ArchRProj = proj, positions = positions, groupBy = "Clusters", minCells = 10)