calculate_z_score {NIPTeR}R Documentation

Calculate 'standard' Z-score

Description

Calculate 'standard' Z-score

Usage

calculate_z_score(nipt_sample, nipt_control_group, chromo_focus)

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

Details

In the Z-score approach, introduced by Chiu et al in 2008, the chromosomal fraction of interest of a sample is compared to the chromosomal fractions of interest of the reference samples, the 'NIPTControlGroup' object. The output of the function is an object of class 'ZscoreResult'. It is a named list containing seven fields:

Value

ZscoreResult object

Examples

## Not run: 
z_score_result_13 <- calculate_z_score(nipt_sample = sample_of_interest, 
                                       nipt_control_group = control_group, 
                                       chromo_focus = 13)

## End(Not run)


[Package NIPTeR version 1.0.2 Index]