| get.assoc.scores | R Documentation | 
Identify which SNPs are deemed to be significantly associated with a phenotype,
according to a given test of association and p-value.
(Serves as the treeWAS association testing function;
runs the assoc.test function internally.)
get.assoc.scores(
  snps,
  snps.sim,
  phen,
  tree,
  test = "terminal",
  correct.prop = FALSE,
  categorical = FALSE,
  snps.reconstruction = NULL,
  snps.sim.reconstruction = NULL,
  phen.reconstruction = NULL,
  unique.cols = FALSE
)
| snps | A matrix containing the real snps. | 
| snps.sim | A matrix or list of matrices containing simulated snps. | 
| phen | A factor or vector containing the phenotype (only allowed to contain two levels for now). | 
| tree | A phylo object containing a phylogenetic tree in which the number of tips is equal to the
length of  | 
| test | A character string or vector containing one or more of the following available tests of association: "terminal", "simultaneous", "subsequent", "cor", "fisher". By default, the terminal test is run (note that within treeWAS, the first three tests are run in a loop by default). See details for more information on what these tests do and when they may be appropriate. | 
| correct.prop | A logical indicating whether the  | 
| categorical | A logical indicating whether  | 
Caitlin Collins caitiecollins@gmail.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.