findMinimalSnpPvalues: Find SNP with minimal p-value per gene.

Description Usage Arguments Value

View source: R/qtl_rasqual.R

Description

Group QTL matrix by gene, sort by p_nominal, keep SNP with smalles p-value, Correct that using bonferroni correction and then apply FDR correction across genes.

Usage

1

Arguments

qtl_df

Data frame with QTL mapping results (required columns: gene_id, p_nominal, n_cis_snps)

Value

Only gene-SNP pairs with minimal p-values, added columns: p_bonferroni, p_fdr.


kauralasoo/seqUtils documentation built on Sept. 24, 2018, 1:11 a.m.