Description Usage Details Author(s) See Also Examples
Example ConsensusPartitionList object from Golub dataset
1 |
Following code was used to generate golub_cola
:
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 | library(cola)
library(golubEsets) # from bioc
data(Golub_Merge)
m = exprs(Golub_Merge)
colnames(m) = paste0("sample_", colnames(m))
anno = pData(Golub_Merge)
m[m <= 1] = NA
m = log10(m)
m = adjust_matrix(m)
library(preprocessCore) # from bioc
cn = colnames(m)
rn = rownames(m)
m = normalize.quantiles(m)
colnames(m) = cn
rownames(m) = rn
set.seed(123)
golub_cola = run_all_consensus_partition_methods(
m, mc.cores = 2,
anno = anno[, c("ALL.AML"), drop = FALSE],
anno_col = c("ALL" = "red", "AML" = "blue")
)
|
Zuguang Gu <z.gu@dkfz.de>
https://jokergoo.github.io/cola_examples/Golub_leukemia/
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.