show_table {ViSEAGO} | R Documentation |
This method is used to display or print the table for enrich_GO_terms-class
or GO_clusters-class
objects.
show_table(object, file = NULL) ## S4 method for signature 'ANY' show_table(object, file = NULL)
object |
an |
file |
table output file name (default to NULL). |
This method displays an interactive table (if file=NULL) from enrich_GO_terms-class
or GO_clusters-class
objects.
The table could be printed by setting file argument.
display or print table
Yihui Xie (2016). DT: A Wrapper of the JavaScript Library 'DataTables'. R package version 0.2. https://CRAN.R-project.org/package=DT
Other enrich_GO_terms: Upset
,
enrich_GO_terms-class
,
overLapper
, show_heatmap
Other GO_clusters: GO_clusters-class
,
GOclusters_heatmap
,
clusters_cor
,
compare_clusters
,
show_heatmap
Other visualization: GOclusters_heatmap
,
GOcount
, GOterms_heatmap
,
Upset
, available_organisms
,
overLapper
, show_heatmap
################### # load example object data( myGOs, package="ViSEAGO" ) ################### # display merge_enrich_terms output ViSEAGO::show_table(myGOs) ################### # print merge_enrich_terms output ViSEAGO::show_table( myGOs, "myGOs.txt" ) ## Not run: ################### # compute GO terms Semantic Similarity distances myGOs<-ViSEAGO::compute_SS_distances( distance="Wang" ) ################## # GOtermsHeatmap with default parameters Wang_clusters_wardD2<-ViSEAGO::GOterms_heatmap( myGOs, showIC=TRUE, showGOlabels=TRUE, GO.tree=list( tree=list( distance="Wang", aggreg.method="ward.D2", rotate=NULL ), cut=list( dynamic=list( pamStage=TRUE, pamRespectsDendro=TRUE, deepSplit=2, minClusterSize =2 ) ) ), samples.tree=NULL ) ################### # display table of GO_clusters-class object ViSEAGO::show_table(Wang_clusters_wardD2) ################### # print table of GO_clusters-class object ViSEAGO::show_table( Wang_clusters_wardD2, "Wang_clusters_wardD2.txt" ) ## End(Not run)