RenameFeatures | R Documentation |
Rename features for the Seurat object
RenameFeatures(srt, newnames = NULL, assays = NULL)
srt |
A Seurat object. |
newnames |
A vector with the same length of features in Seurat object, or characters named with old features. |
assays |
Assays to rename. |
data("panc8_sub")
head(rownames(panc8_sub))
# Simply convert genes from human to mouse and preprocess the data
genenames <- make.unique(capitalize(rownames(panc8_sub), force_tolower = TRUE))
panc8_rename <- RenameFeatures(panc8_sub, newnames = genenames)
head(rownames(panc8_rename))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.