create_scExp: Wrapper to create the single cell experiment from count...

Description Usage Arguments Value Examples

View source: R/preprocessing_filtering_reduction.R

Description

Create the single cell experiment from (sparse) datamatrix and feature dataframe containing feature names and location. Also optionally removes zero count Features, zero count Cells, non canconical chromosomes, and chromosome M. Calculates QC Metrics (scran).

Usage

1
2
3
4
5
6
7
8
9
create_scExp(
  datamatrix,
  annot,
  remove_zero_cells = TRUE,
  remove_zero_features = TRUE,
  remove_non_canonical = TRUE,
  remove_chr_M = TRUE,
  verbose = TRUE
)

Arguments

datamatrix

A matrix or sparseMatrix of raw counts. Features x Cells (rows x columns).

annot

A data.frame containing informations on cells. Should have the same number of rows as the number of columns in datamatrix.

remove_zero_cells

remove cells with zero counts ? (TRUE)

remove_zero_features

remove cells with zero counts ? (TRUE)

remove_non_canonical

remove non canonical chromosomes ?(TRUE)

remove_chr_M

remove chromosomes M ? (TRUE)

verbose

(TRUE)

Value

Returns a SingleCellExperiment object.

Examples

1
2

ChromSCape documentation built on Nov. 8, 2020, 6:57 p.m.