Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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

## Not run: 
# liger object: ligerex
ligerex <- removeMissingObs(ligerex)

## End(Not run)

rliger

Linked Inference of Genomic Experimental Relationships

v1.0.0
GPL-3
Authors
Joshua Welch [aut, ctb], Chao Gao [aut, ctb, cre], Jialin Liu [aut, ctb], Joshua Sodicoff [aut, ctb], Velina Kozareva [aut, ctb], Evan Macosko [aut, ctb], Paul Hoffman [ctb], Ilya Korsunsky [ctb], Robert Lee [ctb]
Initial release
2021-04-18

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.