annotatearchitecture: Annotate SNPs in a genetic architecture according to a model

Description Usage Arguments Value

View source: R/ArchitectureModel.R

Description

Compute the effect size prediction for a specific genomic architecture model, thereby annotating SNPs into classes according to how they fit with respect to the given thresholds.

Recall that we are not expecting individual SNPs to match their prediction, only the variance conditional on MAF to do so.

Usage

1
annotatearchitecture(dat, s, thresholds = c(2.5, 3), sigma = NULL)

Arguments

dat

data frame with the first two columns being "f" and "beta"

s

The architecture model value for s

thresholds

(Default: defaultthresholds) The architecture thresholds to be used in s.d. units.

sigma

(Default: NULL) The sigma to use for the data. Default: use that estimated from the data.

Value

The class of each datapoint


danjlawson/robustarchitecture documentation built on Dec. 19, 2021, 8:09 p.m.