View source: R/data_wrapping_user_imports.R
user_to_dataset_to_data_pool | R Documentation |
Takes a filepath to user dataset + some medata and creates a maf_dataset_wrapper object, then adds the wrapper to the maf_data_pool
user_to_dataset_to_data_pool(
maf_data_pool,
filepath,
clinicalData = NA,
display_name,
short_name,
description = "User specified file",
data_source = "USER",
loaded_data = NA
)
maf_data_pool |
the data pool to add the dataset wrapper to (maf_data_pool) |
filepath |
path to maf file |
clinicalData |
Clinical data associated with each sample/Tumor_Sample_Barcode in MAF. Could be a text file or a data.frame. Default NULL. |
display_name |
Name that the end-user will see (string) |
short_name |
Abbreviated dataset name (string) |
description |
dataset description |
data_source |
data source |
loaded_data |
the loaded R object (MAF or NA) |
returns a data pool object with extra dataset added (maf_data_pool)
Other DataToWrapper:
tcga_dataset_to_data_pool()
,
tcga_dataset_to_maf_dataset_wrapper()
,
tcga_datasets_to_data_pool()
,
user_data_filepath_to_class_maf_dataset_wrapper()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.