gwaa.data-class: Class "gwaa.data"

Description Slots Methods Author(s) See Also Examples

Description

This class contains objects holding all GWAA data – phenotypes, genotypes and other relevant information

Slots

phdata:

dataframe with phenotypic data used in GWAA

gtdata:

object of class snp.data-class used to store genotypic data, map, etc.

Methods

[

signature(x = "gwaa.data", i = "ANY", j = "ANY", drop = "ANY"): subset operations. x[i,j] will select people listed in i and SNPs listed in j.

show

signature(object = "gwaa.data"): shows both parts of the object. Take care that the objects are usually very large!

summary

signature(object = "gwaa.data"): Calls standard summary to describe phenotypic part and calls summary.snp.data to snp.data-class

gtdata

signature(object = "gwaa.data"): returns genotypic data (object of snp.data-class)

phdata

signature(object = "gwaa.data"): returns phenotypic data (a data.frame)

phdata<-

signature(object = "gwaa.data"): method do modify phenotypic data (a data.frame)

Author(s)

Yurii Aulchenko

See Also

snp.data-class, load.gwaa.data, snp.mx-class

Examples

1
2
3
4
5
6
7
8
require(GenABEL.data)
data(srdta)
srdta@phdata[1:10,]
srdta@gtdata[1:10,1:12]
srdta[1:10,1:12]
as.numeric(srdta@gtdata[1:12,1:10])
# very long output:
summary(srdta)

GenABEL documentation built on May 30, 2017, 3:36 a.m.