Description Usage Arguments Value Examples
Use lda function to train linear discriminant model from SNP data, then use this model to predicate phenotype, use ggplot visualize how well the predication separate the phenotype to groups
1 | groupView(genesnp)
|
genesnp |
The data frame of mutiple loci SNP data. First column is the phenotype, followed by all genotype SNPs. |
The generated plot, showing how well the SNPs predicate the phenotype, if there are strongly related loci in the data set then the plot will show well separated grouos, but which locus is most strongly related is not showing
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.