Function to compute auto-correlation of probe intensities at specified offsets from the original positions.
1 2 3 4 |
x |
an object either of class |
probeAnno |
Object of class |
chrom |
character; chromosome to compute the autocorrelation for |
samples |
which samples of the data to use; if more than 1 for each probe the mean intensity over these samples is taken. |
lag.max |
integer; maximal offset from the original position, the auto-correlation is to be computed for. |
lag.step |
integer; step size of lags between 0 and maximal lag. |
cor.method |
character; which type of correlation to compute,
translates to argument |
channel |
character; in case |
idColumn |
string; indicating which column of the |
verbose |
logical; extended output to STDOUT |
the lags, i.e. the offsets from the original position, the
auto-correlation is to be computed for, are constructed from the
given arguments as seq(0, lag.max, by=lag.step)
.
Object of class autocor.result
, a
numeric vector of auto-correlation values at the offsets specified in
argument lags
. The lag values are stored as the names
of
the vector. Argument chrom
is stored as attribute
chromosome
of the result.
Joern Toedling
cor
,plot.autocor.result
1 2 3 4 5 6 |
Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.
All documentation is copyright its authors; we didn't write any of that.