removeClustersAndDropLevels | R Documentation |
This function removes residual small clusters from specified Seurat objects and drops levels in factor-like metadata.
removeClustersAndDropLevels(
ls_obj,
object_names = names(ls_obj),
indices = 2:3,
...
)
ls_obj |
A list of Seurat objects. |
object_names |
A character vector containing the names of the Seurat objects to process.
Default: names of all objects in the |
indices |
A numeric vector indicating which datasets to process by their position in
the |
... |
Additional parameters passed to the |
This function applies removeResidualSmallClusters
and dropLevelsSeurat
to
the Seurat objects specified by the indices
in the object_names
.
It operates in place, modifying the input ls_obj
list.
The function returns the modified list of Seurat objects.
## Not run:
# Process the 2nd and 3rd datasets
removeClustersAndDropLevels(ls_obj, indices = c(2, 3))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.