query_molecule_value | R Documentation |
Get Molecule or Signature Data Values from Dense (Genomic) Matrix Dataset of UCSC Xena Data Hubs
query_molecule_value(dataset, molecule, host = NULL)
dataset |
a UCSC Xena dataset in dense matrix format (rows are features (e.g., gene, cell line) and columns are samples). |
molecule |
a molecular identifier (e.g., "TP53") or a formula specifying
genomic signature ( |
host |
a UCSC Xena host, default is |
a named vector.
# What does dense matrix mean?
table(UCSCXenaTools::XenaData$Type)
# It is a the UCSC Xena dataset with "Type" equals to "genomicMatrix"
## Not run:
dataset <- "ccle/CCLE_copynumber_byGene_2013-12-03"
x <- query_molecule_value(dataset, "TP53")
head(x)
signature <- "TP53 + 2*KRAS - 1.3*PTEN" # a space must exist in the string
y <- query_molecule_value(dataset, signature)
head(y)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.