copyCompleteToolsSlots | R Documentation |
This function copies the @tools
slots from a list of Seurat objects into a new slot
of a target Seurat object. This allows for the aggregation of tools information from multiple
experiments or datasets into a single, consolidated Seurat object.
copyCompleteToolsSlots(
ls.obj,
obj.to,
overwrite = TRUE,
new.slot = "per.experiment"
)
ls.obj |
A list of Seurat objects from which the |
obj.to |
The target Seurat object to which the |
overwrite |
A logical parameter that is kept for compatibility but not used in this version. Its presence does not affect the function's behavior. |
new.slot |
The name of the new slot within |
Returns the modified target Seurat object (obj.to
) with a new @tools
slot containing
the copied information from the list of Seurat objects.
# Assuming `ls.obj` is a list of Seurat objects and `obj.to` is a target Seurat object
obj.to <- copyCompleteToolsSlots(ls.obj, obj.to, overwrite = TRUE, new.slot = "per.experiment")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.