getFeatures.Rd
This function will identify available features from a given data matrix (i.e. "GeneScoreMatrix", or "TileMatrix") and return them for downstream plotting utilities.
getFeatures(
ArchRProj = NULL,
useMatrix = "GeneScoreMatrix",
select = NULL,
ignoreCase = TRUE
)
An ArchRProject
object.
The name of the data matrix as stored in the ArrowFiles of the ArchRProject
. Options include "TileMatrix", "GeneScoreMatrix", etc.
A string specifying a specific feature name (or rowname) to be found with grep
or granges to overlap.
A boolean value indicating whether to ignore the case (upper-case / lower-case) when searching via grep for the string passed to select
.
# Get Test ArchR Project
proj <- getTestProject()
# Get Features
getFeatures(proj, useMatrix = "GeneScoreMatrix", select = 'CD3')