View source: R/fix_celltype_names2.R
fix_celltype_names2 | R Documentation |
Make sure celltypes don't contain characters that could interfere with downstream analyses. For example, the R package MAGMA.Celltyping cannot have spaces in celltype names because spaces are used as a delimiter in later steps.
fix_celltype_names2(
celltypes,
replace_chars = "[-]|[.]|[ ]|[//]|[\\/]",
make_unique = TRUE
)
celltypes |
Character vector of celltype names. |
replace_chars |
Regex string of characters to replace with "_" when renaming columns. |
make_unique |
Make all entries unique. |
Fixed celltype names.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.