Learn R Programming

rliger (version 1.0.0)

removeMissingObs: Remove cells/genes with no expression across any genes/cells

Description

Removes cells/genes from chosen slot with no expression in any genes or cells respectively.

Usage

removeMissingObs(
  object,
  slot.use = "raw.data",
  use.cols = TRUE,
  verbose = TRUE
)

Arguments

object

liger object (scale.data or norm.data must be set).

slot.use

The data slot to filter (takes "raw.data" and "scale.data") (default "raw.data").

use.cols

Treat each column as a cell (default TRUE).

verbose

Print messages (TRUE by default)

Value

liger object with modified raw.data (or chosen slot) (dataset names preserved).

Examples

Run this code
# NOT RUN {
# liger object: ligerex
ligerex <- removeMissingObs(ligerex)
# }

Run the code above in your browser using DataLab