Description Usage Arguments Examples
Takes data frame with a "gene" column and adds a column using a second data frame as a reference to convert between "Gene" column and a compartment column
1 | gene_to_comp(dat, comp_dat, level = "compartment")
|
dat |
a data frame with gene symbols |
level |
a string containing the level to be sorted |
gene_dat |
a reference data frame with gene symbols and the assigned compartments and sub-compartments within the cell |
1 | df$sub_compartment <- gene_to_comp(df, comp_df, level = "sub_compartment")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.