Description Usage Arguments Value Author(s) See Also Examples
Partition bulk methylation dataset to training and test set
1 | partition_bulk_dataset(dt_obj, cpg_train_prcg = 0.5)
|
dt_obj |
BPRMeth data 'region_object' object |
cpg_train_prcg |
Fraction of CpGs in each genomic region to keep for training set. |
The BPRMeth data 'region_object' object with the following changes. The 'met' element will now contain only the 'training' data. An additional element called 'met_test' will store the data that will be used during testing to evaluate the imputation performance. These data will not be seen from BPRMeth during inference.
C.A.Kapourani C.A.Kapourani@ed.ac.uk
create_region_object
, read_met
,
impute_bulk_met
1 2 | # Partition the synthetic data from BPRMeth package
dt <- partition_bulk_dataset(encode_met)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.