Learn R Programming

solarius (version 0.2.3)

annotateSNPs: Annotate SNPs

Description

The function annotates SNPs based on NCBI2R R package, in particular AnnotateSNPList function.

Usage

annotateSNPs(x, mode = c("significant", "top", "all"), alpha = 0.05,
  num.top = 10, capture.output = FALSE, ...)

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.
capture.output
Logical, indicates whether to capture the output from AnnotateSNPList function. The default value is FALSE.
...
Additional arguments.

Value

  • A data table with annotation results.

Details

See https://ncbi2r.wordpress.com/ for more details.