generate.biomarkers: Generate discrete biomarkers from the continuous phenotypes

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

View source: R/generate.biomarkers.R

Description

Creating genotype markers out of gene expression data.

Usage

1
2
3
  generate.biomarkers(population, threshold=0.05, overlapInd = 10,
    proportion = c(50,50), margin = 15, pProb=0.8, n.cluster=1, env,
    verbose=FALSE, debugMode=0)

Arguments

population

An object of class population. See create.population for details.

threshold

If the pvalue for differential expression of this phenotype (see find.diff.expressed) is lower that the set threshold, the phenotype is kept in the analysis as being differentially expressed.

overlapInd

The number of individuals that are allowed in the overlap (undecided region) when assigning genotype encodings.

proportion

The expected proportion of individuals expected to carrying a certain genotype (e.g. c(50,50) in a recombinant inbred line).

pProb

Threshold posterior probability used to assign expression values to the genotypes. If not crossed - empty genotype is assigned.

n.cluster

Number of cores to be used .

env

Vector of environmental conditions - for each of the individuals specifies a condition. Ignored if missing.

margin

This specifies how much deviation from the expected proportion is allowed (2 sided).

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

This function, using the results from mixture modeling splits the continuous offspring phenotype data into discrete genotype markers, infering the direction from the founders expression data.

Value

An object of class cross. See read.cross for details

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
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
	#Example for F2 population
	set.seed(102)
	population <- fake.population(type="f2")
	population <- find.diff.expressed(population)
	population <- generate.biomarkers(population,proportion=c(25,50,25),threshold=0.01)
	## Not run: 
	#Example for BC population
	set.seed(102)
	population <- fake.population(type="bc")
	population <- find.diff.expressed(population)
	population <- generate.biomarkers(population,proportion=c(25,75),threshold=0.01)

	#Example for BC population
	set.seed(102)
	population <- fake.population(type="riself")
	population <- find.diff.expressed(population)
	population <- generate.biomarkers(population,proportion=c(50,50),threshold=0.01)
	
## End(Not run)

pheno2geno documentation built on May 2, 2019, 6:35 a.m.