Usage
perform_regression(nipt_sample, nipt_control_group, chromo_focus, n_models = 4, n_predictors = 4, exclude_chromosomes = NULL, include_chromosomes = NULL, use_test_train_set = T, size_of_train_set = 0.6, overdispersion_rate = 1.15, force_practical_cv = F)
Arguments
nipt_sample
The NIPTSample object that is the focus of the analysis
nipt_control_group
The NIPTControlGroup object used in the analysis
chromo_focus
The chromosome of interest. Most commonly chromosome 13, 18 or 21.
However, every autosomal chromosome can be predicted
n_models
Integer Number of linear models to be made. Default setting is 4 models
n_predictors
Integer The number of predictors each model contains. Default is 4
exclude_chromosomes
integer. Exclude which autosomal chromosomes as potential predictors?
Default potential trisomic chromosomes 13, 18 and 21 are exluded.
include_chromosomes
integer. Include potential trisomic chromosomes?
Options are: chromosomes 13, 18 and 21
use_test_train_set
Use a test and train set to build the models? Default is TRUE
size_of_train_set
The size of the train set expressed in a decimal.
Default is 0.6 (60 of the control samples)
overdispersion_rate
The standard error of the mean is multiplied by this factor
force_practical_cv
Boolean, Ignore the theoretical CV and always use the practical CV?