HuCortexData: Obtain the Hu cortex data

View source: R/HuCortexData.R

HuCortexDataR Documentation

Obtain the Hu cortex data

Description

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

Usage

HuCortexData(
  mode = c("ctx", "3T3"),
  samples = NULL,
  ensembl = FALSE,
  location = TRUE,
  legacy = FALSE
)

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.

legacy

Logical scalar indicating whether to pull data from ExperimentHub. By default, we use data from the gypsum backend.

Details

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

  • "cell-3T3" and "nuclei-3T3", generated from the 3T3 cell line.

  • "nuclei-ctx-X", nuclei generated from the cortex of animal number X (from 1 to 13).

  • "nuclei-ctx-salineX" or "nuclei-ctx-PTZX", nuclei generated from the cortex of saline- or PTZ-treated mice. X represents the replicate number and can be 1 or 2.

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

sce <- HuCortexData("3T3")


LTLA/scRNAseq documentation built on April 24, 2024, 5:58 p.m.