getFragmentsFromProject.Rd
This function retrieves the fragments from a given ArchRProject as a GRangesList object.
getFragmentsFromProject(
ArchRProj = NULL,
subsetBy = NULL,
cellNames = NULL,
verbose = FALSE,
logFile = createLogFile("getFragmentsFromProject")
)
A Genomic Ranges object to subset fragments by.
A character vector indicating the cell names of a subset of cells from which fragments whould be extracted.
This allows for extraction of fragments from only a subset of selected cells. By default, this function will extract all cells
from the provided ArrowFile using getCellNames()
.
A boolean value indicating whether to use verbose output during execution of this function. Can be set to FALSE
for a cleaner output.
The path to a file to be used for logging ArchR output.
An ArchRProject
object to get fragments from.
#Get Test Project
proj <- getTestProject()
# Get Fragments
frags <- getFragmentsFromProject(proj)