Query Single Identifier or Signature Value from Pan-cancer Database
Source:R/query_value.R
query_pancan_value.Rd
Query Single Identifier or Signature Value from Pan-cancer Database
Arguments
- molecule
a molecular identifier (e.g., "TP53") or a formula specifying genomic signature (
"TP53 + 2 * KRAS - 1.3 * PTEN"
).- data_type
data type. Can be one of "mRNA", "transcript", "protein", "mutation", "cnv", "methylation", "miRNA".
- database
database, either 'toil' for TCGA TARGET GTEx, or 'ccle' for CCLE.
- reset_id
if not
NULL
, set the specified variable at parent frame to "Signature".- opt_pancan
other extra parameters passing to the underlying functions.
Details
query_pancan_value()
provide convenient interface to download multi-omics
data from 3 databases by specifying one or several canonical datasets. It is
derived from query_pancan_value()
and support query for genomic signature.
To query comprehensive datasets that UCSCXena supports, users can check
UCSCXenaTools::XenaData
and use get_pancan_value()
directly.
Option opt_pancan
is a nested list and allow to adjust the downloading details.
For now, only cnv(toil)
,methylation(toil)
,miRNA(toil)
,miRNA(pcawg)
,promoter(pcawg)
support optional parameters. The default set is .opt_pancan
and we check meanings of sublist(parameters)
through the following relationship.
"toil" database
transcript–
get_pancan_transcript_value()
protein–
get_pancan_protein_value()
mutation–
get_pancan_mutation_status()
methylation–
get_pancan_methylation_value()
miRNA–
get_pancan_miRNA_value()
"ccle" database
protein–
get_ccle_protein_value()
mutation–
get_ccle_mutation_status()
"pcawg" database
miRNA–
get_pcawg_miRNA_value()
promoter–
get_pcawg_promoter_value()
fusion–
get_pcawg_fusion_value()
Examples
if (FALSE) { # \dontrun{
query_pancan_value("KRAS")
query_pancan_value("KRAS", database = "ccle")
query_pancan_value("KRAS", database = "pcawg")
query_pancan_value("ENSG00000000419",
database = "pcawg",
data_type = "fusion"
) # gene symbol also work
.opt_pancan
opt_pancan <- list(toil_cnv = list(use_thresholded_data = FALSE))
query_pancan_value("PTEN", data_type = "cnv", database = "toil", opt_pancan = opt_pancan)
opt_pancan <- list(toil_methylation = list(type = "450K", rule_out = "cg21115430", aggr = "Q25"))
query_pancan_value("PTEN", data_type = "methylation", database = "toil", opt_pancan = opt_pancan)
} # }