Description Usage Arguments Details Value Author(s)
View source: R/getDiffMatrices.R
A helper function to calculate the mean ancestry proportion for a given subpopulation, excluding each chromosome/chromosomal segment in turn.
1 | getDiffMatrices(chrAncest, diff = TRUE)
|
chrAncest |
A data.frame holding the ancestral proportions; each row corresponds to a sample and each column corresponds to a chromosomal/chromosomal segment ancestry proportion. Note: only include the proportions for one ancestral population at a time. |
diff |
A logical argment indicating whether the difference between the pooled mean and the chromosomal mean should be returned, or whether simply the pooled mean should be returned. |
This function calculates the mean ancestry proportion of a given subpopulation excluding each chromosome in turn.
A matrix of chromosomal ancestry differences.
Caitlin McHugh mchughc@uw.edu
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.