Prints in a human readable format a concensus.rules object, usually an output of `sctree::get_concensus_rules`

# S3 method for concensus.rules
print(x)

Arguments

x

a concensus.rules object output from `sctree::get_concensus_rules`

Value

returns silently the same object but prints the rules to the console.

See also

get_concensus_rules

Examples

my_tree <- fit_ctree(small_5050_mix, c('CKB', 'ADA', 'ASNS', 'PRDX6', 'MZB1')) my_rules <- get_concensus_rules(my_tree) print(my_rules)
#> Cluster-0: #> all elements: #> ADA + #> ASNS - #> Cluster-1: #> all elements: #> ADA - #> ASNS + #> CKB +
# Cluster-0: # all elements: # ADA + # ASNS - # Cluster-1: # all elements: # ADA - # ASNS + # CKB +