| 1 |
useDynLib(apcluster) |
| 2 |
|
| 3 |
import("methods") |
| 4 |
|
| 5 |
importFrom("graphics", |
| 6 |
"plot", "axis", "frame", "layout", "legend", "lines", |
| 7 |
"pairs", "par", "points", "segments", "title") |
| 8 |
|
| 9 |
importFrom("grDevices", "dev.flush", "dev.hold", "rainbow", "heat.colors") |
| 10 |
|
| 11 |
importFrom("stats", |
| 12 |
"cutree", "heatmap", "as.hclust", "as.dendrogram", |
| 13 |
"cor", "median", "order.dendrogram", "quantile", |
| 14 |
"rnorm", "runif") |
| 15 |
|
| 16 |
importFrom("Rcpp", "evalCpp") |
| 17 |
|
| 18 |
import("Matrix") |
| 19 |
|
| 20 |
export("apclusterDemo", "negDistMat", "expSimMat", "corSimMat", "linSimMat", |
| 21 |
"linKernel") |
| 22 |
|
| 23 |
exportClasses("APResult", "AggExResult", "ExClust") |
| 24 |
|
| 25 |
exportMethods("show", "plot", "heatmap", "labels", "cutree", "[", "[[", |
| 26 |
"similarity", "as.hclust", "as.dendrogram", "length", |
| 27 |
"apcluster", "apclusterL", "apclusterK", "aggExCluster", |
| 28 |
"preferenceRange", "as.SparseSimilarityMatrix", |
| 29 |
"as.DenseSimilarityMatrix") |
| 30 |
|
| 31 |
S3method("sort", "ExClust") |