-
Notifications
You must be signed in to change notification settings - Fork 22
pyNBS.pyNBS_plotting
pyNBS_plotting
is a module that contains helper and plotting functions for summarizing various results from the pyNBS algorithm.
This module contains the following functions (bolded functions are key pyNBS functions):
-
cluster_color_assign
: This is a helper function that constructs a color map for different patient clusters. The color map can then be used to color the rows or columns of a co-clustering matrix map, as constructed byplot_cc_map
. -
cluster_KMplot
: This function takes patient cluster assignments and patient survival data and plots a Kaplan-Meier survival plot for each cohort cluster. The function can also calculate the log-rank statistic of how different the survival of each cluster is. -
plot_cc_map
: This function plots a co-clustering matrix map which visualizes how often any two tumor samples are clustered together during the consensus clustering step.