Description Usage Arguments Value See Also Examples
View source: R/print_tree_rules.R
Prints in a human readable format a concensus.rules object, usually an output of 'sctree::get_concensus_rules'
1 2 | ## S3 method for class 'concensus.rules'
print(x)
|
x |
a concensus.rules object output from 'sctree::get_concensus_rules' |
returns silently the same object but prints the rules to the console.
get_concensus_rules
1 2 3 4 5 6 7 8 9 10 11 12 13 | 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 +
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.