Browse code

add more information in print.UpSet()

Zuguang Gu authored on 03/03/2019 08:09:03
Showing 1 changed files

... ...
@@ -690,6 +690,18 @@ print.comb_mat = function(x, ...) {
690 690
 	} else {
691 691
 		cat("  sets are on columns\n")
692 692
 	}
693
+	cat("
694
+Utility functions that can be applied:
695
+- set_name(): name of the sets.
696
+- set_size(): size of the sets.
697
+- comb_name(): name of the combination sets.
698
+- comb_size(): size of the combination sets.
699
+- comb_degree(): degree of the combination sets.
700
+- extract_comb(): extract elements in the specific combination sets.
701
+- t(): transpose the combination matrix.
702
+- '[': subset the combination matrix.
703
+")
704
+
693 705
 }
694 706
 
695 707
 # == title