| example.geno {pedgene} | R Documentation |
Example datasets for pedgene
Description
example.geno: a data frame with minor allele count for subjects (rows) at variant positions (columns); example.ped: pedigree and trait data for subjects in example.geno; example.map: gene and chromosome for variant positions in example.geno; example.relation: special (twin) relationships for individuals in example.ped
Usage
data(example.geno)
data(example.ped)
data(example.map)
data(example.relation)
Format
example.geno -data frame with minor allele count for 20 variant
positions:
pedpedigree ID, character or numeric
personperson ID, used with ped to match subjects to their row in example.ped
AA.1-AA.10,AX.1-AX.10genotype columns at 10 positions for each of 2 simulated genes
example.ped -data frame with pedigree structure and trait
values in the following columns:
pedpedigree ID, character or numeric
personperson ID, a unique ID within each pedigree
fatherfather ID, 0 if no father
mothermother ID, 0 if no mother
sexcoded as 1 for male, 2 for female
traitphenotype, either case-control status coded as 1 for affected and 0 for unaffected, or a continuous value. Subjects with missing (NA) will be removed from the analysis
trait.adjustedan optional variable for covariate-adjusted trait. If trait.adjusted is present in the data.frame, then gene-level tests are adjusted for covariates using residuals = (trait - trait.adjusted). Otherwise, gene-level tests are not adjusted for covariates, in which case residuals = trait - mean(trait)
example.map - data frame with columns for gene name and chromosome:
chromchromosome code (1-23,X allowed) where the gene is located
genegene identifier
example.relation - matrix specifying special relationships between pairs
of individuals in the following columns:
pedpedigree ID, character or numeric
id1person1 ID, used with ped to match subjects to their row in example.ped
id2person2 ID, used with ped to match subjects to their row in example.ped
codeany of the following: 1=Monozygotic twin, 2=Dizygotic twin, 3=Twin of unknown zygosity, and 4=Spouse
Source
Simulated data for testing purposes
Examples
data(example.geno)
data(example.ped)
data(example.map)
data(example.relation)