Description Usage Arguments Details Value Examples
Generate a Multi Dimensional Scale (MDS) plot from distance objects.
1 2 3 4 |
object |
a |
type |
could be "GOterms" to display GOterms MDSplot, or "GOclusters" to display GOclusters MDSplot. |
file |
static image output file name (default to NULL). |
This method build and display the javascript MDSplot (if file
=NULL) from GO_SS-class
or GO_clusters-class
objects.
A static png image could be printed by setting file
argument.
a MDS plot.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 | ###################
# load data example
utils::data(
myGOs,
package="ViSEAGO"
)
## Not run:
###################
# compute GO terms Semantic Similarity distances
myGOs<-ViSEAGO::compute_SS_distances(
myGOs,
distance="Wang"
)
###################
# build MDS plot for a GO_SS-class distance object
ViSEAGO::MDSplot(myGOs)
##################
# GOtermsHeatmap with default parameters
Wang_clusters_wardD2<-ViSEAGO::GOterms_heatmap(
myGOs,
showIC=TRUE,
showGOlabels=TRUE,
GO.tree=list(
tree=list(
distance="Wang",
aggreg.method="ward.D2",
rotate=NULL
),
cut=list(
dynamic=list(
pamStage=TRUE,
pamRespectsDendro=TRUE,
deepSplit=2,
minClusterSize =2
)
)
),
samples.tree=NULL
)
###################
# build MDS plot for a GO_clusters-class distance object, highlighting GO terms clusters.
ViSEAGO::MDSplot(
Wang_clusters_wardD2,
"GOterms"
)
###################
# compute clusters of GO terms Semantic Similarity distances
Wang_clusters_wardD2<-ViSEAGO::compute_SS_distances(
Wang_clusters_wardD2,
distance="BMA"
)
###################
# GOclusters heatmap
Wang_clusters_wardD2<-ViSEAGO::GOclusters_heatmap(
Wang_clusters_wardD2,
tree=list(
distance="BMA",
aggreg.method="ward.D2",
rotate=NULL
)
)
###################
# build MDS plot for a GO_clusters-class distance object, highlighting GO groups clusters.
ViSEAGO::MDSplot(
Wang_clusters_wardD2,
"GOclusters"
)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.