Check difference of two liger command
Arguments
- object
liger object
- cmd1, cmd2
Exact string of command labels. Available options could be viewed with running
commands(object)
.
Examples
pbmc <- normalize(pbmc)
#> ℹ Normalizing datasets "ctrl"
#> ℹ Normalizing datasets "stim"
#> ✔ Normalizing datasets "stim" ... done
#>
#> ℹ Normalizing datasets "ctrl"
#> ✔ Normalizing datasets "ctrl" ... done
#>
pbmc <- normalize(pbmc, log = TRUE, scaleFactor = 1e4)
#> ℹ Normalizing datasets "ctrl"
#> ℹ Normalizing datasets "stim"
#> ✔ Normalizing datasets "stim" ... done
#>
#> ℹ Normalizing datasets "ctrl"
#> ✔ Normalizing datasets "ctrl" ... done
#>
cmds <- commands(pbmc)
commandDiff(pbmc, cmds[1], cmds[2])
#> [1] "Argument not found in `x`: log"
#> [2] "Argument not found in `x`: scaleFactor"