plotThreshold: Plots an object of class 'Threshold'.

Description Usage Arguments Value Author(s) See Also Examples

View source: R/plotThreshold.R

Description

plotThreshold plots the objects of class Threshold.

Usage

1
plotThreshold(x, main = "", legend, col = NULL, ...)

Arguments

x

An object of class Threshold or a list of objects of class Threshold.

main

A character string describing the title of the plot.

legend

A vector of character strings decribing the different Threshold objects in x; only applicable when x is a list.

col

A vector giving the colors, if NULL colors are generated automatically.

...

Further arguments passed to or from other methods.

Value

plotThreshold returns a plot.

Author(s)

Saskia Freytag

See Also

calculateThreshold

Examples

1
2
3
4
5
6
7
8
Y<-simulateGEdata(500, 500, 10, 2, 5, g=NULL, Sigma.eps=0.1, 
250, 100, intercept=FALSE, check.input=FALSE)
anno<-as.matrix(sample(1:4, dim(Y$Y)[1], replace=TRUE))
colnames(anno)<-"Factor"
weights<-findWeights(Y$Y, anno, "Factor")
Thresh<-calculateThreshold(Y$Y, exclude=1:100, index.ref=1:10, 
Weights=weights, anno=anno, Factor="Factor")
plotThreshold(Thresh)

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