Description Usage Arguments Value Examples
Create plot from hierarchical clustering analysis of the samples, based on splicing factor expression levels.
1 | clusterPlot(geneSummaries, tra, distmethod, clustermethod, fileName)
|
geneSummaries |
The data.frame with gene-level expression values for each sample, returned from the function 'readGeneSummaries'. |
tra |
The list returned from the function 'aberrantExonUsage', containing sample-wise total relative amounts of aberrant exon usage. |
distmethod |
Which distance measure to be used. Possible options are "euclidean", "maximum", "manhattan", "canberra", "binary" or "minkowski". |
clustermethod |
Which clustering algorithm to be used. Possible options are "ward", "single", "complete", "average", "mcquitty", "median" or "centroid". |
fileName |
Output filename. File format is optional, but must be one of png, jpg, eps or pdf. |
clusterPlot is used for the side-effect of producing a hierarchical clustering plot showing how the samples are separated based on expression levels for the splicing factors in each sample.
1 2 3 4 5 | fs <- firmaAnalysis(useToyData=TRUE)
gs <- readGeneSummaries(useToyData=TRUE)
tra <- aberrantExonUsage(1.0, fs)
# create cluster plot with the samples
clusterPlot(gs, tra, "euclidean", "complete", "cluster.png")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.