eigenvaluePlot: Plot eigenvalues of SVD of the negtaive controls.

Description Usage Arguments Value Author(s) Examples

View source: R/eigenvaluePlot.R

Description

eigenvaluePlot plots the ratio of the ith eigenvalue of the SVD of the negative controls to the eigenvalue total.

Usage

1
eigenvaluePlot(Y, nc_index, k = 10, center = TRUE, title = "Eigenvalue Plot")

Arguments

Y

A matrix of gene expressions.

nc_index

A vector of indices for the negative controls.

k

A numeric value giving the number of eigenvalues that should be displayed.

center

A logical character to indicate whether centering is needed.

title

A character string describing title.

Value

eigenvaluePlot returns a plot.

Author(s)

Saskia Freytag

Examples

1
2
3
Y<-simulateGEdata(500, 500, 10, 2, 5, g=NULL, Sigma.eps=0.1, 
250, 100, intercept=FALSE, check.input=FALSE)
eigenvaluePlot(Y$Y, nc_index=251:500, k=20, center=TRUE)

RUVcorr documentation built on Nov. 8, 2020, 5:10 p.m.