Learn R Programming

solarius (version 0.3.0.2)

annotate: Annotate SNPs in association study

Description

The function calls annotateSNPs function, which does the job.

Usage

annotate(x, mode = c("significant", "top", "all"), alpha = 0.05, num.top = 10, ...)

Arguments

x
An object of class solarAssoc or a character vector of SNPs.
mode
A character with the mode of SNPs selection. Possible values are "significant", "top" and "all". The default value is "significant".
alpha
A numeric value from 0 to 1, the significance level after Bonferroni multiple-test correction. Corresponds to mode equal to "significant".
num.top
An integer value, the number of top SNPs to be annotated. Corresponds to mode equal to "top". The default value is 10.
...
Additional arguments passed to annotateSNPs.

Value

A data table with annotation results.

See Also

annotateSNPs