Description Usage Arguments Details
View source: R/standardise_gene_names.R
standardise_gene_names
1 | standardise_gene_names(df_to_update, names_to_replace)
|
df_to_update |
data frame with a column name $gene_name. Any instances of multiple names for what is a single gene within this column will be standardised |
names_to_replace |
user provided .csv file or default .csv file ("gene_nomenclature_correction.csv") which lists alternative names for each gene. One gene for each column, header is new standardised gene name option, rest of column is filled with erroneous versions of the gene name. |
This function turns an extensive but not exhaustive list of possible gene name synonyms/miss-spellings/alternative abbreviations into standardised format.
Function loads either user provided .csv file or default .csv file ("gene_nomenclature_correction.csv") and uses gsub to replace all alternative gene name patterns given with a single, standard, gene name.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.