.FindCommandInObject | R Documentation |
This function searches for commands in a list within a Seurat object using a partial match (e.g., pattern matching) on the command names. It returns the content of the first match if only one match is found. If multiple matches are found, it outputs the number of hits and their names.
.FindCommandInObject(obj, pattern, perl = TRUE)
obj |
A Seurat object. Default: None. |
pattern |
A character string representing the pattern to match command names. Default: None. |
If exactly one match is found, the function returns the content of the first match. If
multiple matches are found, it returns NULL
after displaying the number of matches and their names.
# Assuming 'combined.obj' is your Seurat object
result <- FindCommandInObject(combined.obj, "^FindVariable")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.