assoc: Statistical inference for association mapping

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/inference.R

Description

Statistical inference for association mapping.

Usage

1
assoc(post, FDRset = 0.1, fdrControl)

Arguments

post

The posterior for association mapping.

FDRset

FDR level. Default is 0.1.

fdrControl

Method to control FDR. Possible values are "global" (global FDR control) and "local" (local FDR control).

Details

assoc makes statistical inference for association mapping.

Value

The binary values indicating association of SNPs, where one indicates association and zero otherwise. The format is the same with post.

Author(s)

Jingsi Ming

See Also

post

Examples

1
assoc.SNP <- assoc(posterior1, FDRset = 0.1, fdrControl = "global")

mingjingsi/LPM documentation built on April 2, 2020, 9:32 a.m.