create.population: Create a population object

Description Usage Arguments Details Value Author(s) See Also Examples

Description

Create a new population object from phenotype data already loaded in the R environment

Usage

1
2
3
  create.population(offspringPhenotypes, founders, foundersGroups, offspringGenotypes,
  mapsGenetic, mapsPhysical, populationType=c("riself", "f2", "bc", "risib"),
  noWarn=FALSE, verbose=FALSE, debugMode=0)

Arguments

offspringPhenotypes

A matrix that contains the phenotype data measured on the offspring (required).

founders

A matrix that contains the phenotype data measured on the founders (required).

foundersGroups

When multiple measurement for the founders are present this is used to group the founders. The format is a matrix that contains the phenotype data measured on the (required).

offspringGenotypes

Matrix containing any known offspring genotype data (optional).

mapsGenetic

Matrix containing a known genetic map (optional).

mapsPhysical

Matrix containing a known physical map (optional).

populationType

Type of population the expression data was obtained from:

  • riself - Recombinant inbred line by selfing.

  • f2 - F2 cross.

  • bc - Back cross.

  • risib - Recombinant inbred line by sibling mating.

noWarn

If TRUE, no warnings will be produced.

verbose

Be verbose.

debugMode

Either use 1 or 2, this will modify the amount of information returned to the user. 1) Print out checks, 2) Print additional time information.

Details

When all required information is provided an object of class population is returned.

Value

An object of class population. This is a complex object containing all the information needed for the entire pheno2geno analysis. It's structure looks like below (depending on which optional information was supplied):

Author(s)

Konrad Zych k.zych@rug.nl, Danny Arends Danny.Arends@gmail.com Maintainer: Konrad Zych k.zych@rug.nl

See Also

Examples

1
2
3
4
5
6
	### simulating data
	population <- fake.population()
	offspring <- population$offspring$phenotypes
	founders <- population$founders$phenotypes
	founders_groups <- population$founders$groups
	population <- create.population(offspring,founders,founders_groups)

KonradZych/phenotypes2genotypes documentation built on May 30, 2019, 2:45 p.m.