readFlex: Load 10x flex count matrices

readFlexR Documentation

Load 10x flex count matrices

Description

Load gene expression count data

Usage

readFlex(
  data.path,
  samples = NULL,
  raw = FALSE,
  symbol = TRUE,
  sep = "!!",
  unique.names = TRUE,
  n.cores = 1,
  verbose = TRUE
)

Arguments

data.path

Path to cellranger count data.

samples

Vector of sample names (default = NULL)

raw

logical Add raw count matrices (default = FALSE)

symbol

The type of gene IDs to use, SYMBOL (TRUE) or ENSEMBLE (default = TRUE).

sep

Separator for cell names (default = "!!").

n.cores

Number of cores for the calculations (default = 1).

verbose

Print messages (default = TRUE).

Value

data frame

Examples

## Not run: 
cms <- readFlex(data.path = "/path/to/count/data", 
samples = crm$metadata$samples, 
raw = FALSE, 
symbol = TRUE, 
n.cores = crm$n.cores)

## End(Not run)

CRMetrics documentation built on June 2, 2026, 9:08 a.m.