Learn R Programming

SNPassoc (version 1.4-2)

WGstats: Statistics for an object of class 'WGassociation'

Description

Prints, for each SNP, a detailed table as the output of association

Usage

WGstats(object, ...)

Arguments

object
an object of class WGassociation

Value

  • a data frame where rows are chromosomes (or genes) and the following columns: number of SNPs, percentage of SNPs with genotype rate less than 'genotypingRate', the percentage of Monomorphic SNPs, and the number of statistically significant associations at level indicated in 'pSig'.

Details

The function computes, for each chromosome (or gene), the number of SNPs, the percentage of SNPs with genotype error (e.g SNPs where the genotype rate is less than those indicated in the argument 'genotypingRate' from WGassociation function), the percentage of Monomorphic SNPs, and the number of statistically significant associations at level given in the 'pSig' argument.

See Also

WGassociation

Examples

Run this code
data(HapMap)
WGstats(resHapMap)

Run the code above in your browser using DataLab