calc_effective_N | R Documentation |
Helper function to calculate effective sample size for the group that is left out when estimating the adjusted allele frequencies in each adjAF function iteration.
calc_effective_N(N_reference, N_observed, pi.target, pi.observed)
N_reference |
numeric vector of the sample sizes of each K reference groups. |
N_observed |
numeric value of the sample size of the observed group. |
pi.target |
numeric vector of the mixture proportions for K reference groups in the target sample or subject. The order must match the order of the reference columns with the last entry matching the missing reference group. |
pi.observed |
numeric vector of the mixture proportions for K reference groups for the observed group. The order must match the order of the reference columns with the last entry matching the missing reference group. |
N_effective: effective sample size for the group that is left out when estimating the adjusted allele frequencies in each adjAF function iteration.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.