singlemsdplot: Visualize two-dimensional data clusters (add to an existing...

Description Usage Arguments Author(s) See Also Examples

View source: R/LSD.msdplot.r

Description

Depict a numeric matrix or list utilizing the underlying mean and standard deviation estimates of one dimension in a color encoded fashion (add to an existing plot).

Usage

1
2
3
4
5
6
7
8
singlemsdplot(
  input,
  col = "darkgreen",
  alpha = 50,
  bars = TRUE,
  length = 0.25,
  at = NULL
)

Arguments

input

data as matrix or list.

col

a character vector of R build-in colors.

alpha

alpha value: a two-digit integer between 01 and 99 for color opacity, i.e. appearance of partial or full transparency (usage omitted by default).

bars

logical: if TRUE (by default), error bars are added at each position.

length

a numeric value scaling the width of the bars.

at

a integer vector containing the x-positions corresponding to the columns of 'input'.

Author(s)

Bjoern Schwalb

See Also

comparisonplot, demotour, disco, colorpalette

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
samples = 100
probes = 200
clus = matrix(rnorm(probes*samples,sd=1),ncol=probes)

clus = rbind(
	t(t(clus)+sin(1:probes/10))+1:nrow(clus)/samples,
	t(t(clus)+sin(pi/2+1:probes/10))+1:nrow(clus)/samples)

emptyplot(xlim = c(1,ncol(clus)),ylim = range(clus))
singlemsdplot(clus)
axis(1)
axis(2)
box()

Example output



LSD documentation built on July 2, 2020, 4:14 a.m.

Related to singlemsdplot in LSD...