50% off | Unlimited Data & AI Learning
Get 50% off unlimited learning

CRMetrics (version 0.3.0)

read10x: Load 10x count matrices

Description

Load gene expression count data

Usage

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

Value

data frame

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).

Examples

Run this code
if (FALSE) {
cms <- read10x(data.path = "/path/to/count/data", 
samples = crm$metadata$samples, 
raw = FALSE, 
symbol = TRUE, 
n.cores = crm$n.cores)
}

Run the code above in your browser using DataLab