build.target: Creating a covariance target, optionally by using information...

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

View source: R/build.target.R

Description

The function build.target() is a wrapper function to build the various types of covariance targets (D,F,G,Gpos,Gstar,cor).

Usage

1
2
 
build.target(x, genegroups = NULL, type)

Arguments

x

An n x p matrix.

genegroups

List of the groups each gene belongs to: each entry of the list is dedicated to a gene (identified the same way as in x). Each item of the list is thus a vector of pathway IDs.

type

Character string specifying the wished target: "D" for a diagonal target, "cor" for a correlation target, "G", "Gpos" and "Gstar" for a G-type target (see Jelizarow et al, 2010) and "F" for a F-target.

Value

A p x p target covariance matrix of a certain type.

Author(s)

Vincent Guillemot

References

M. Jelizarow, V. Guillemot, A. Tenenhaus, K. Strimmer, A.-L. Boulesteix, 2010. Over-optimism in bioinformatics: an illustration. Bioinformatics. Accepted.

See Also

targetCor, targetD, targetF, targetG, targetGpos, targetGstar,.

Examples

1
2
3
4
# Simulate dataset
x <- matrix(rnorm(20*30),20,30)
# Try different targets
build.target(x,type="D")

SHIP documentation built on May 29, 2017, 11:25 a.m.