waldronlab / cBioPortalData

Integrate the cancer genomics portal, cBioPortal, using MultiAssayExperiment
https://waldronlab.io/cBioPortalData/
30 stars 13 forks source link

geneTable(cbio) #65

Closed afaissa closed 1 year ago

afaissa commented 1 year ago

Hi,

geneTable(cbio) is returning only 1000 genes.

genes <- geneTable(cbio) genes

# A tibble: 1,000 x 3
   entrezGeneId hugoGeneSymbol  type 
          <int> <chr>           <chr>
 1        -3624 MIR-10A/10A     miRNA
 2        -3712 MIR-559/559     miRNA
 3        -3042 MIR-4315-2/4315 miRNA
 4        -3204 MIR-4535/4535   miRNA
 5        -3763 MIR-607/607     miRNA
 6        -3457 MIR-1269A/1269A miRNA
 7        -3286 MIR-4679-1/4679 miRNA
 8        -3295 MIR-4686/4686   miRNA
 9        -3054 MIR-4325/4325   miRNA
10        -3510 MIR-124A-1/5P   miRNA
# ... with 990 more rows
# i Use `print(n = ...)` to see more rows

How to get more?

Thanks, Alex

LiNk-NY commented 1 year ago

Hi Alex, The API call returns chunks of data.
See ?geneTable and indicate the page size and number.

pageSize: numeric(1) The number of rows in the table to return

pageNumber: numeric(1) The pagination page number

Best, Marcel