View source: R/pipeline_functions.R
get_IDtransfer_betweenSpecies | R Documentation |
get_IDtransfer_betweenSpecies
creates a data frame to convert ID between species.
get_IDtransfer_betweenSpecies(
from_spe = "human",
to_spe = "mouse",
from_type = NULL,
to_type = NULL,
use_genes = NULL,
useCache = TRUE
)
from_spe |
character, name of the original species (e.g. "human", "mouse", "rat") that |
to_spe |
character, name of the target species (e.g. "human", "mouse", "rat"). Default is "mouse". |
from_type |
character, the attribute name match the current ID type (the type of |
to_type |
character, the attribute name match the target ID type. |
use_genes |
a vector of characters, the genes for ID conversion. Must be the genes with ID type of |
useCache |
Boolean, parameter pass to |
Return a data frame for ID conversion, from one species to another.
use_genes <- c("ENST00000210187","ENST00000216083","ENST00000216127",
"ENST00000216416","ENST00000217233","ENST00000221418")
transfer_tab <- get_IDtransfer_betweenSpecies(from_spe='human',
to_spe='mouse',
from_type = 'ensembl_transcript_id',
to_type='external_gene_name',
use_genes=use_genes)
## get transfer table !!!
transfer_tab <- get_IDtransfer_betweenSpecies(from_spe='human',
to_spe='mouse',
from_type = 'ensembl_transcript_id',
to_type='ensembl_transcript_id_version',
use_genes=use_genes)
## get transfer table !!!
## Not run:
transfer_tab <- get_IDtransfer_betweenSpecies(from_spe='human',
to_spe='mouse',
from_type='refseq_mrna',
to_type='refseq_mrna')
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.