catmapdata {catmap} | R Documentation |
An example data frame for use with catmap
Description
A file for use with catmap
containing simulated data.
Usage
data(catmapdata)
Format
A data frame with 5 observations on the following 8 variables.
name
- a factor with study name and optionally year of publication. NOTE: if year of publication is included there must be no space between study name and year. A comma or underscore work nicely. Example:
Abrams,2001
Peter,2002
Todd,2003
Wei,2007
Yu,2007
study
- a numeric vector containing 1 if study is TDT and 2 if case-control
t
- a numeric vector containing counts of alleles transmitted in TDT study
nt
- a numeric vector containing counts of alleles not transmitted in TDT study
caserisk
- a numeric vector containing counts of risk alleles in cases
controlrisk
- a numeric vector containing counts of risk alleles in controls
casenotrisk
- a numeric vector containing counts of non-risk alleles in cases
controlnotrisk
- a numeric vector containing counts of non-risk alleles in controls
Details
The header must be part of the file and either 0 or NA must be included for data not relevant for the particular study. For example, using a TDT study the caserisk, controlrisk, casenotrisk and controlnotrisk must have values of either 0 or NA.
Author(s)
Kristin K. Nicodemus, kristin.nicodemus@well.ox.ac.uk
See Also
catmap.forest
,
catmap.sense
,
catmap.cumulative
,
catmap.funnel
.
Examples
data(catmapdata)
[Package
catmap version 1.5
Index]