Coerce a SeuratCommand
to a list
# S3 method for SeuratCommand
as.list(x, complete = FALSE, ...)
A SeuratCommand
object
Include slots besides just parameters (eg. call string, name, timestamp)
Ignored
A list with the parameters and, if complete = TRUE
,
the call string, name, and timestamp
Command log object and interaction methods
$.SeuratCommand()
,
.DollarNames.SeuratCommand()
,
LogSeuratCommand()
,
SeuratCommand-class
,
[.SeuratCommand()
cmd <- pbmc_small[["NormalizeData.RNA"]]
as.list(cmd)
#> $assay
#> [1] "RNA"
#>
#> $normalization.method
#> [1] "LogNormalize"
#>
#> $scale.factor
#> [1] 10000
#>
#> $verbose
#> [1] TRUE
#>
as.list(cmd, complete = TRUE)
#> $name
#> [1] "NormalizeData.RNA"
#>
#> $time.stamp
#> [1] "2018-08-27 20:32:17 UTC"
#>
#> $assay.used
#> [1] "RNA"
#>
#> $call.string
#> [1] "NormalizeData(object = pbmc_small)"
#>
#> $assay
#> [1] "RNA"
#>
#> $normalization.method
#> [1] "LogNormalize"
#>
#> $scale.factor
#> [1] 10000
#>
#> $verbose
#> [1] TRUE
#>