Description Usage Arguments Value Examples
Aggregate SNPs and Y by Species
1 | aggregate_SNPs(SNPs,Y,na.rm)
|
SNPs |
Standardized SNP data set where the values of each column are either 0 or 1 |
Y |
The phenotype response of interest |
na.rm |
Logical value where TRUE removes NA's in response vector as well corresponding rows in SNP matrix. |
SNPs |
reduced SNP dataset |
Y |
reduced Y vector |
1 2 3 4 5 6 | data("vignette_lm_dat")
Y <- vignette_lm_dat$Phenotype
SNPs <- vignette_lm_dat[,-1]
SNPs <- standardize(SNPs = SNPs,method = "major-minor",number_cores = 1)
aggregate_SNPs(SNPs = SNPs, Y = Y)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.