cbioportal_create.Rd
Wrapper function for creating a import-ready cBioPortal study.
cbioportal_create(
this_seqtype = "genome",
short_name = "GAMBL",
human_friendly_name = "GAMBL data",
project_name = "gambl_genome",
description = "GAMBL data from genome",
gambl_maf = "maf_slms3_hg19",
gambl_icgc_maf = "maf_slms3_hg19_icgc",
cancer_type = "mixed",
overwrite = TRUE,
check_study = TRUE,
out_dir
)
The seq type you want to generate a study for. Default is "genome".
A concise name for your portal project. Default is "GAMBL".
A slightly more verbose name for your project. Default is "GAMBL data".
Unique ID for your project. Default is "gambl_all".
A verbose description of your data set. This is what the study will be named when accessing it through cBioPortal. Default is "GAMBL data from genome".
MAF origin.
ICGC MAF origin.
Cancer types included in study, default is "mixed".
Flag to specify that files should be overwritten if they exist. Default is TRUE.
Boolean parameter that controls if the generated study should be checked for sample IDs in case lists, that are not described in the clinical file. Default is TRUE.
The full path to the base directory where the files are being created.
Nothing. Rather, this function generates all files necessary for successfully importing a study into an active cBioPortal instance.
This function internally calls setup_study, setup_fusions, finalize_study and study_check to generate all necessary files for importing a study into cBioPortal.
This function was developed to streamline this step and at the same time ensure that the study information and selected data type is consistent throughout the individual steps of generating a study.
In addition, the user can also control if the generated study should be checked for sample IDs in case lists that are not described in the clinical file.
This potentially will prevent an annoying error that prevents the study to be imported into the active cBioPortal instance, default is TRUE.
Fusions are also handled based on the selected seq type (this_seqtype
).
if (FALSE) {
#generate cBioPortal study for all GAMBL genome samples:
cbioportal_create()
#generate a cBioPortal study for all GAMVL capture samples:
cbioportal_create(this_seqtype = "capture", description = "GAMBL data from exomes")
}