Description Usage Arguments Details Examples
View source: R/down_sampling.R
Consensus partitioning only with a subset of columns
1 2 3 4 |
data |
A numeric matrix where subgroups are found by columns. |
subset |
Number of columns to randomly sample, or a vector of selected indices. |
verbose |
Whether to print messages. |
prefix |
Internally used. |
anno |
Annotation data frame. |
anno_col |
Annotation colors. |
dist_method |
Method for predict the class for other columns. |
.env |
An environment, internally used. |
... |
All pass to |
The function performs consensus partitioning only with a small subset
of columns and the class of other columns are predicted by predict_classes,ConsensusPartition-method
.
1 2 3 4 5 6 7 8 9 10 | ## Not run:
data(golub_cola)
m = get_matrix(golub_cola)
set.seed(123)
golub_cola_ds = consensus_partition_by_down_sampling(m, subset = 50,
anno = get_anno(golub_cola), anno_col = get_anno_col(golub_cola),
top_value_method = "SD", partition_method = "kmeans")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.