Learn R Programming

rliger (version 2.0.1)

commandDiff: Check difference of two liger command

Description

Check difference of two liger command

Usage

commandDiff(object, cmd1, cmd2)

Value

If any difference found, a character vector summarizing all differences

Arguments

object

liger object

cmd1, cmd2

Exact string of command labels. Available options could be viewed with running commands(object).

Examples

Run this code
pbmc <- normalize(pbmc)
pbmc <- normalize(pbmc, log = TRUE, scaleFactor = 1e4)
cmds <- commands(pbmc)
commandDiff(pbmc, cmds[1], cmds[2])

Run the code above in your browser using DataLab