addR2FromLead: Calculate R2 between the lead SNP and all other SNPs in the...

Description Usage Arguments Value

View source: R/qtl_postProcess.R

Description

Assumes that lead SNP is in the first row of the gene_df data frame (data frame is sorted by p-value).

Usage

1
addR2FromLead(gene_df, genotypes)

Arguments

gene_df

Data frame of QTL snps (required column: gene_id)

genotypes

Genotype matrix

Value

gene_df data frame with R2 column added.


kauralasoo/seqUtils documentation built on May 20, 2019, 7:42 a.m.