Description Usage Arguments Value Author(s) See Also Examples
'compute.sliding' computes a smoothing of the expression data or scores along the chromosome using the specified kernel function. This function is also used within the 'evalScoring' function. 'plotSliding' creates a plot of the smoothed expression values / scores.
1 2 3 |
data |
A MACATData list holding the Expression values and gene locations |
chromosome |
the chromosome to be smoothed |
sample |
the sample (patient) whose expression values are smoothed |
kernel |
a kernel function (one of rbf, kNN, basePairDistance or your own) |
kernelparams |
a list of named parameters for the kernel (by default estimated from the data) |
step.width |
the smoothing is computed stepwise every step.width basepairs (default is 100000) |
... |
further graphical parameters passed on to |
for compute.sliding
: a matrix of dimension (steps x 2) with
in the first column the locations in basepairs where an interpolation
is computed, and in the second column the smoothed values.
plotSliding
does not return anything and is merely called for
its side-effect producing the plot.
MACAT development team
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.