Get annotations

# S4 method for DownSamplingConsensusPartition
get_anno(object, reduce = FALSE)

Arguments

object

A DownSamplingConsensusPartition-class object.

reduce

Used internally.

Value

A data frame if anno was specified in consensus_partition_by_down_sampling, or else NULL.

Author

Zuguang Gu <z.gu@dkfz.de>

Examples

data(golub_cola_ds)
get_anno(golub_cola_ds)
#>    ALL.AML
#> 39     ALL
#> 40     ALL
#> 42     ALL
#> 47     ALL
#> 48     ALL
#> 49     ALL
#> 41     ALL
#> 43     ALL
#> 44     ALL
#> 45     ALL
#> 46     ALL
#> 70     ALL
#> 71     ALL
#> 72     ALL
#> 68     ALL
#> 69     ALL
#> 67     ALL
#> 55     ALL
#> 56     ALL
#> 59     ALL
#> 52     AML
#> 53     AML
#> 51     AML
#> 50     AML
#> 54     AML
#> 57     AML
#> 58     AML
#> 60     AML
#> 61     AML
#> 65     AML
#> 66     AML
#> 63     AML
#> 64     AML
#> 62     AML
#> 1      ALL
#> 2      ALL
#> 3      ALL
#> 4      ALL
#> 5      ALL
#> 6      ALL
#> 7      ALL
#> 8      ALL
#> 9      ALL
#> 10     ALL
#> 11     ALL
#> 12     ALL
#> 13     ALL
#> 14     ALL
#> 15     ALL
#> 16     ALL
#> 17     ALL
#> 18     ALL
#> 19     ALL
#> 20     ALL
#> 21     ALL
#> 22     ALL
#> 23     ALL
#> 24     ALL
#> 25     ALL
#> 26     ALL
#> 27     ALL
#> 34     AML
#> 35     AML
#> 36     AML
#> 37     AML
#> 38     AML
#> 28     AML
#> 29     AML
#> 30     AML
#> 31     AML
#> 32     AML
#> 33     AML