Description Usage Arguments Details Value Examples
Splits an scMethrix object into two for use as a training and test set
1 | generate_training_set(scm = NULL, training_prop = 0.2, seed = "123")
|
scm |
|
training_prop |
numeric; The size of the training set as a proportion of the experiment (0 to 1) For a range, the optimal value will be estimated; this is time-intensive. |
seed |
string; value to use for sampling |
Typically used for teaching classification algorithms. The seed can be set for consistency.
list; two scMethrix
objects names 'training' and 'test'
1 2 | data('scMethrix_data')
generate_training_set(scMethrix_data, training_prop = 0.2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.