Learn R Programming

scTEP (version 0.1.0)

preprocessing: preprocessing

Description

Conduct preprocessing, including remove all zero columns and scale gene expression smaller than 100 by log transformation with 2 as base.

Usage

preprocessing(expr)

Value

List with the following keys:

  • expr - Gene expression matrix, with rows represent samples and columns represent genes.

Arguments

expr

The gene expression matrix.

Examples

Run this code
#Load the package
library(scTEP)
#Load example data
data("goolam")
#Get data matrix
expr <- as.matrix(t(SummarizedExperiment::assay(goolam)))

data = preprocessing(expr)

Run the code above in your browser using DataLab