library(UCSCXenaTools)
hub = "https://pancanatlas.xenahubs.net"
dataset = "EB++AdjustPANCAN_IlluminaHiSeq_RNASeqV2.geneExp.xena"
samples = c("TCGA-02-0047-01","TCGA-02-0055-01")
probes =c("TP53", "RB1")
> .p_dataset_probe_values(hub, dataset, samples, probes)
[[1]]
strand chromend chromstart chrom
1 + 49056122 48877911 chr13
2 - 7590868 7565097 chr17
[[2]]
[,1] [,2]
[1,] 10.84 9.96
[2,] 11.22 10.15
> .p_dataset_gene_probe_avg(hub, dataset, samples, probes)
gene position scores
1 TP53 -, 7590868, 7565097, chr17 10.84, 9.96
2 RB1 +, 49056122, 48877911, chr13 11.22, 10.15
> .p_dataset_probe_values(hub, dataset, "TCGA-02-0055-01", probes)
[[1]]
strand chromend chromstart chrom
1 + 49056122 48877911 chr13
2 - 7590868 7565097 chr17
[[2]]
[,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8] [,9] [,10] [,11] [,12] [,13] [,14] [,15]
[1,] NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN
[2,] NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN
gene position scores
1 TP53 -, 7590868, 7565097, chr17 NaN, NaN, NaN, NaN, NaN, NaN, NaN, NaN, NaN, NaN, NaN, NaN, NaN, NaN, NaN
2 RB1 +, 49056122, 48877911, chr13 NaN, NaN, NaN, NaN, NaN, NaN, NaN, NaN, NaN, NaN, NaN, NaN, NaN, NaN, NaN
> .p_dataset_probe_values(hub, dataset, samples, "TP53")
Error in UCSCXenaTools:::.xena_post(host, UCSCXenaTools:::.call(xquery, :
Internal Server Error (HTTP 500).
> .p_dataset_gene_probe_avg(hub, dataset, samples, "TP53")
Error in UCSCXenaTools:::.xena_post(host, UCSCXenaTools:::.call(xquery, :
Internal Server Error (HTTP 500).
> .p_dataset_gene_probes_values(hub, dataset, samples, "TP53")
[[1]]
[[1]]$position
strand chromend chromstart chrom
1 - 7590868 7565097 chr17
[[1]]$name
[1] "TP53"
[[2]]
[,1] [,2]
[1,] 10.84 9.96
> .p_dataset_gene_probes_values(hub, dataset, "TCGA-02-0047-01", "TP53")
[[1]]
[[1]]$position
strand chromend chromstart chrom
1 - 7590868 7565097 chr17
[[1]]$name
[1] "TP53"
[[2]]
[,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8] [,9] [,10] [,11] [,12] [,13] [,14] [,15]
[1,] NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN