hist-methods: Plot Density Estimate

Description Arguments Details Note Author(s) See Also Examples

Description

Plot the density estimates for each sample.

Usage

hist(x, which = "", size = 0, transfo = log2, xlab = "log intensity", ylab = "density", names = "namepart", type = "l", col = 1:6, lty = 1:5, add.legend = FALSE, verbose = TRUE, ...)

Arguments

x

object of class DataTreeSet or ExprTreeSet.

which

type of probes to be used, for details see validData.

size

length of sequence to be generated as subset.

transfo

a valid function to transform the data, usually “log2”, or “0”.

xlab

a title for the x axis.

ylab

a title for the y axis.

names

optional vector of sample names.

type

type for the plot.

col

colors to use for the different arrays.

lty

line types to use for the different arrays.

add.legend

logical, if TRUE then a legend will be drawn.

verbose

logical, if TRUE print status information.

...

optional arguments to be passed to plot.

Details

Plots the non-parametric density estimates for each sample.

For names=NULL full column names of slot data will be displayed while for names="namepart" column names will be displayed without name extension. If names is a vector of column names, only these columns will displayed as callplot.

Note

For objects of class DataTreeSet it is no longer necessary to attachInten since each data tree will be imported separately.

Author(s)

Christian Stratowa

See Also

plotDensity

Examples

1
2
3
4
5
6
7
## load existing ROOT scheme file and ROOT data file
scheme.test3 <- root.scheme(paste(path.package("xps"),"schemes/SchemeTest3.root",sep="/"))
data.test3 <- root.data(scheme.test3, paste(path.package("xps"),"rootdata/DataTest3_cel.root",sep="/"))

if (interactive()) {
hist(data.test3)
}

xps documentation built on Nov. 8, 2020, 6 p.m.