cBioCache-deprecated | R Documentation |
cBioPortalData
no longer caches data from API responses;
therefore, removeDataCache
is no longer needed. It will be removed
as soon as the next release of Bioconductor.
removeDataCache(
api,
studyId = NA_character_,
genePanelId = NA_character_,
genes = NA_character_,
molecularProfileIds = NULL,
sampleListId = NULL,
sampleIds = NULL,
by = c("entrezGeneId", "hugoGeneSymbol"),
dry.run = TRUE,
...
)
api |
An API object of class |
studyId |
|
genePanelId |
|
genes |
|
molecularProfileIds |
|
sampleListId |
|
sampleIds |
|
by |
|
dry.run |
logical Whether or not to remove cache files (default TRUE). |
... |
Additional arguments to lower level API functions |
removeDataCache: The path to the cache location when
dry.run = FALSE
if the file exists. Otherwise, when dry.run = TRUE
,
the function return the output of the file.remove
operation.
Remove the computed cache location based on the function inputs to
cBioPortalData()
. To remove the cache, simply replace the
cBiocPortalData()
function name with removeDataCache()
; see the example.
If the computed cache location is not found, it will return an empty vector.
cbio <- cBioPortal()
cBioPortalData(
cbio, by = "hugoGeneSymbol",
studyId = "acc_tcga",
genePanelId = "AmpliSeq",
molecularProfileIds =
c("acc_tcga_rppa", "acc_tcga_linear_CNA", "acc_tcga_mutations")
)
removeDataCache(
cbio, by = "hugoGeneSymbol",
studyId = "acc_tcga",
genePanelId = "AmpliSeq",
molecularProfileIds =
c("acc_tcga_rppa", "acc_tcga_linear_CNA", "acc_tcga_mutations"),
dry.run = TRUE
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.