Description Usage Arguments Value See Also Examples
View source: R/PlotIndexesClust.R
The function generates graphs and tables of a specific index and its clusters. The user decides whether to supply the k or let the function calculate the k for the selected index
1 | PlotIndexesClust(x, idx, k = NULL, scaling = TRUE)
|
x |
list of expression data and their indexes after running
|
idx |
A character, the index to plot (e.g., for 8 time points "11100-1-1-1") |
k |
A numeric, number of clusters. If not given the function will calculate what is the optimal k for the index. |
scaling |
A boolean, default to TRUE, does the data should be standardized before clustered with K-means. |
A list with two objects:
Table of of a specific index and its clusters
Gene expression pattern graphs for each one of the clusters
1 2 3 4 5 6 7 | data_dir <- system.file("extdata", package = "ctsGE")
files <- dir(path=data_dir,pattern = "\\.xls$")
rts <- readTSGE(files, path = data_dir,
labels = c("0h","6h","12h","24h","48h","72h"), skip = 10625 )
prts <- PreparingTheIndexes(rts)
pp <- PlotIndexesClust(prts,idx="00101-1")
pp$graphs # plots the line graphs
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.