View source: R/data_loading_utils.R
maf_data_set_wrapper_unload_data | R Documentation |
Uses the functions in maf_dataset_wrapper to load data into the loaded_data element and update status.
maf_data_set_wrapper_unload_data(maf_dataset_wrapper)
maf_dataset_wrapper |
the wrapper of the dataset you want to unload into memory (maf_dataset_wrapper) |
a copy of the original wrapper with status and loaded data elements updated. Status is changed from "ready" => "not_loaded". loaded_data is changed from maf_object to NA. (maf_dataset_wrapper)
Other data_set_wrapper_loading:
maf_data_set_wrapper_load_data()
#Generate wrapper
my_data <- CRUX:::tcga_dataset_to_maf_dataset_wrapper(
maf_data_pool = CRUX:::new_maf_data_pool(),
tcga_study_abbreviation = "ACC"
)
#Load data
my_data <- CRUX:::maf_data_set_wrapper_load_data(my_data)
#Access loaded data
print(my_data$loaded_data)
#Unload when finished
my_data <- CRUX:::maf_data_set_wrapper_unload_data(my_data)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.