View source: R/pipeline_functions.R
get.TF_SIG.list | R Documentation |
get.TF_SIG.list
is a function converts gene ID into the corresponding TF/SIG list,
with selected gene/transcript type.
get.TF_SIG.list(
use_genes = NULL,
use_gene_type = "external_gene_name",
ignore_version = FALSE,
dataset = NULL
)
use_genes |
a vector of characters, genes will be used in the network construction. If NULL, no filter will be performed to the TF/SIG list. Default is NULL. |
use_gene_type |
character, the attribute name inherited from the biomaRt package.
Some options are, "ensembl_gene_id", "ensembl_gene_id_version", "ensembl_transcript_id", "ensembl_transcript_id_version" and "refseq_mrna".
All options can be accessed by calling The type must match the gene type from the input |
ignore_version |
logical, if TRUE, the version "ensembl_gene_id_version" or "ensembl_transcript_id_version" will be ignored. Default is FALSE. |
dataset |
character, the dataset used for ID conversion (e.g. "hsapiens_gene_ensembl").
If NULL, use |
Return a list containing two elements. tf
is the TF list, sig
is the SIG list.
db.preload(use_level='transcript',use_spe='human',update=FALSE)
use_genes <- c("ENST00000210187","ENST00000216083","ENST00000216127",
"ENST00000216416","ENST00000217233","ENST00000221418",
"ENST00000504956","ENST00000507468")
res_list <- get.TF_SIG.list(use_gene_type = 'ensembl_transcript_id',
use_genes=use_genes,
dataset='hsapiens_gene_ensembl')
print(res_list)
## Not run:
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.