Learn R Programming

RUVcorr (version 1.4.2)

eigenvaluePlot: Plot eigenvalues of SVD of the negtaive controls.

Description

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

Usage

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.

Examples

Run this code
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)

Run the code above in your browser using DataLab