Description Usage Arguments Value Examples
Calling scountCutoff
gives you a quick answer to whether the number of tables is over a given cutoff. It is useful in deciding whether to analyze a data set with xtest
or mtest
. This function is used by hwx.test
and not normally called directly by the user.
1 | xcountCutoff(m, cutoff = 1e+07)
|
m |
vector containing the numbers of alleles of each type. It can also be a matrix of genotype counts, but not a vector of genotype counts. |
cutoff |
Is the number of tables above or below this value? |
TRUE or FALSE depending on whether the table count is above or below cutoff
1 2 3 | #
alleles <- c(15, 14, 11, 12, 2, 2, 1, 3)
if(xcountCutoff(alleles)) cat("There are too many tables")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.