This function gets a given data matrix from an individual ArrowFile.
getMatrixFromArrow( ArrowFile = NULL, useMatrix = "GeneScoreMatrix", useSeqnames = NULL, cellNames = NULL, ArchRProj = NULL, verbose = TRUE, binarize = FALSE, logFile = createLogFile("getMatrixFromArrow") )
The path to an ArrowFile from which the selected data matrix should be obtained.
The name of the data matrix to retrieve from the given ArrowFile. Options include "TileMatrix", "GeneScoreMatrix", etc.
A character vector of chromosome names to be used to subset the data matrix being obtained.
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
A boolean value indicating whether to use verbose output during execution of this function. Can be set to FALSE for a cleaner output.
A boolean value indicating whether the matrix should be binarized before return. This is often desired when working with insertion counts.
The path to a file to be used for logging ArchR output.