as.list.SeuratCommand: Coerce a 'SeuratCommand' to a list

View source: R/command.R

as.list.SeuratCommandR Documentation

Coerce a SeuratCommand to a list

Description

Coerce a SeuratCommand to a list

Usage

## S3 method for class 'SeuratCommand'
as.list(x, complete = FALSE, ...)

Arguments

x

A SeuratCommand object

complete

Include slots besides just parameters (eg. call string, name, timestamp)

...

Ignored

Value

A list with the parameters and, if complete = TRUE, the call string, name, and timestamp

See Also

Command log object and interaction methods $.SeuratCommand(), .DollarNames.SeuratCommand(), LogSeuratCommand(), SeuratCommand-class, [.SeuratCommand()

Examples

cmd <- pbmc_small[["NormalizeData.RNA"]]
as.list(cmd)
as.list(cmd, complete = TRUE)


mojaveazure/seurat-object documentation built on Dec. 13, 2024, 9:23 a.m.