ww.get.1st.Seur.element | R Documentation |
#' If provided with a list of Seurat objects, this function returns the first Seurat object in the list. If the input is a single Seurat object, it returns the object itself. It is assumed that all elements of the list are Seurat objects if the input is a list.
ww.get.1st.Seur.element(obj)
obj |
A Seurat object, a list of Seurat objects, or any other list. |
The first Seurat object from the list or the Seurat object itself. If the input is not a Seurat object or a list containing at least one Seurat object, the function will throw an error.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.