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
)

Arguments

ArchRProj

An ArchRProject object.

useMatrix

The name of the data matrix as stored in the ArrowFiles of the ArchRProject. Options include "TileMatrix", "GeneScoreMatrix", etc.

select

A string specifying a specific feature name (or rowname) to be found with grep or granges to overlap.

ignoreCase

A boolean value indicating whether to ignore the case (upper-case / lower-case) when searching via grep for the string passed to select.

Examples


# Get Test ArchR Project
proj <- getTestProject()

# Get Features
getFeatures(proj, useMatrix = "GeneScoreMatrix", select = 'CD3')