Description Usage Arguments Value
View source: R/convert_genes.R
This function adds a column HumanSymbol
to the given df containing the
human gene name for the gene present in the column MouseSymbol
. If no matching gene
is found, it adds a NaN value to the column. Uses a conversion file between mouse
and human gene symbols (parameter conversion_file
).
1 | convert_genes(df, conversion_file, old_gene_col, new_gene_col)
|
conversion_file |
.csv file containing equivalence b/w human and mouse genes in two columns (HumanSymbol & MouseSymbol) |
old_gene_col |
Name of column containing the old gene name |
new_gene_col |
Name of column containing the new gene name |
gene |
Name of the mouse gene |
Dataframe with a new column containing the new gene names
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.