Closed jjgao closed 3 years ago
Thanks JJ! I will have a look at this soon. Sorry for the delay. Best, Marcel
Hi Matthew, @mattdmem
mutationData
is a bit of an advanced function to use and is at a lower level than cBioPortalData()
.
I would recommend sticking to the standard API, i.e., using the cBioPortalData()
function:
> cBioPortalData(cbio, "lung_msk_pdx", genePanelId = "IMPACT341",
molecularProfileIds = "lung_msk_pdx_mutations", sampleListId = "lung_msk_pdx_all")
harmonizing input:
removing 2 colData rownames not in sampleMap 'primary'
A MultiAssayExperiment object of 1 listed
experiment with a user-defined name and respective class.
Containing an ExperimentList class object of length 1:
[1] lung_msk_pdx_mutations: RangedSummarizedExperiment with 807 rows and 134 columns
Functionality:
experiments() - obtain the ExperimentList instance
colData() - the primary/phenotype DataFrame
sampleMap() - the sample coordination DataFrame
`$`, `[`, `[[` - extract colData columns, subset, or experiment
*Format() - convert into a long or wide DataFrame
assays() - convert ExperimentList to a SimpleList of matrices
exportClass() - save all data to files
Currently, in the release version of cBioPortalData
the function only accepts gene panel identifiers genePanelId
.
See genePanels(cbio)
.
The development version of the package in Bioconductor (3.13; soon to be released) will support gene inputs.
Best regards, Marcel
reported by @mattdmem https://github.com/cBioPortal/cbioportal/issues/8392
Hello, nice tool.
I am trying to get some data in R and I am getting the error:
"There is an error in the JSON format of the request payload"
R4.0.4
where molecular profile is:
and sampleIds is:
Any ideas?
Thanks!!