Last data update: 2014.03.03

R: Plot eigenvalues of SVD of the negtaive controls.
eigenvaluePlotR Documentation

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.

Author(s)

Saskia Freytag

Examples

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)

Results


R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(RUVcorr)
> png(filename="/home/ddbj/snapshot/RGM3/R_BC/result/RUVcorr/eigenvaluePlot.Rd_%03d_medium.png", width=480, height=480)
> ### Name: eigenvaluePlot
> ### Title: Plot eigenvalues of SVD of the negtaive controls.
> ### Aliases: eigenvaluePlot
> 
> ### ** Examples
> 
> 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)
> 
> 
> 
> 
> 
> dev.off()
null device 
          1 
>