Learn R Programming

rliger (version 1.0.1)

normalize: Normalize raw datasets to column sums

Description

This function normalizes data to account for total gene expression across a cell.

Usage

normalize(
  object,
  chunk = 1000,
  format.type = "10X",
  remove.missing = TRUE,
  verbose = TRUE
)

Value

liger object with norm.data slot set.

Arguments

object

liger object.

chunk

size of chunks in hdf5 file. (default 1000)

format.type

string of HDF5 format (10X CellRanger by default).

remove.missing

Whether to remove cells not expressing any measured genes, and genes not expressed in any cells (if take.gene.union = TRUE, removes only genes not expressed in any dataset) (default TRUE).

verbose

Print progress bar/messages (TRUE by default)

Examples

Run this code
ligerex <- createLiger(list(ctrl = ctrl, stim = stim))
ligerex <- normalize(ligerex)

Run the code above in your browser using DataLab