View source: R/infer_species.R
infer_species | R Documentation |
Infers which species the genes within gene_df
is from.
Iteratively test the percentage of gene_df
genes that match with
the genes from each test_species
.
infer_species(
gene_df,
gene_input = "rownames",
test_species = c("human", "monkey", "rat", "mouse", "zebrafish", "fly"),
method = c("homologene", "gprofiler", "babelgene"),
make_plot = TRUE,
show_plot = TRUE,
verbose = TRUE
)
gene_df |
Data object containing the genes
(see
Genes, transcripts, proteins, SNPs, or genomic ranges
can be provided in any format
(HGNC, Ensembl, RefSeq, UniProt, etc.) and will be
automatically converted to gene symbols unless
specified otherwise with the |
gene_input |
Which aspect of
|
test_species |
Which species to test for matches with.
If set to
|
method |
R package to use for gene mapping:
|
make_plot |
Make a plot of the results. |
show_plot |
Print the plot of the results. |
verbose |
Print messages. |
An ordered dataframe of test_species
from best to worst matches.
data("exp_mouse")
matches <- orthogene::infer_species(gene_df = exp_mouse[1:200,])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.