Description Usage Arguments Value
View source: R/qtl_postProcess.R
Assumes that lead SNP is in the first row of the gene_df data frame (data frame is sorted by p-value).
1 | addR2FromLead(gene_df, genotypes)
|
gene_df |
Data frame of QTL snps (required column: gene_id) |
genotypes |
Genotype matrix |
gene_df data frame with R2 column added.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.