HuCortexData: Obtain the Hu cortex data

Description Usage Arguments Details Value Author(s) References Examples

View source: R/HuCortexData.R

Description

Obtain the mouse cortex single-nuclei RNA-seq data from Hu et al. (2017).

Usage

1
2
3
4
5
6
HuCortexData(
  mode = c("ctx", "3T3"),
  samples = NULL,
  ensembl = FALSE,
  location = TRUE
)

Arguments

mode

Character vector indicating whether to return data for the 3T3 cells or the mouse cortex.

samples

Character vector indicating whether to return data for specific samples, see Details. If specified, this overrides mode.

ensembl

Logical scalar indicating whether the output row names should contain Ensembl identifiers.

location

Logical scalar indicating whether genomic coordinates should be returned.

Details

Column metadata includes the mode and sample corresponding to each cell/nuclei. Available samples are:

If multiple modes are requested, counts are only reported for the intersection of genes across all modes. This is because the gene annotation in the original count matrices differs across modes.

If ensembl=TRUE, the gene symbols are converted to Ensembl IDs in the row names of the output object. Rows with missing Ensembl IDs are discarded, and only the first occurrence of duplicated IDs is retained.

If location=TRUE, the coordinates of the Ensembl gene models are stored in the rowRanges of the output. Note that this is only performed if ensembl=TRUE.

All data are downloaded from ExperimentHub and cached for local re-use. Specific resources can be retrieved by searching for scRNAseq/wu-kidney.

Value

A SingleCellExperiment object with a single matrix of read counts.

Author(s)

Aaron Lun

References

Hu P et al. (2017). Dissecting cell-type composition and activity-dependent transcriptional state in mammalian brains by massively parallel single-nucleus RNA-seq. Mol. cell 68, 1006-1015.

Examples

1
sce <- HuCortexData("3T3")

drisso/scRNAseq documentation built on Feb. 16, 2021, 1:18 a.m.