Rename features for the Seurat object
Examples
data("panc8_sub")
head(rownames(panc8_sub))
#> [1] "A1BG"   "A1CF"   "A2M"    "A4GALT" "AAAS"   "AACS"  
# Simply convert genes from human to mouse and preprocess the data
genenames <- make.unique(capitalize(rownames(panc8_sub), force_tolower = TRUE))
#> Error in capitalize(rownames(panc8_sub), force_tolower = TRUE): could not find function "capitalize"
panc8_rename <- RenameFeatures(panc8_sub, newnames = genenames)
#> Error: object 'genenames' not found
head(rownames(panc8_rename))
#> Error in h(simpleError(msg, call)): error in evaluating the argument 'x' in selecting a method for function 'head': error in evaluating the argument 'x' in selecting a method for function 'rownames': object 'panc8_rename' not found