mofaflex.pl

mofaflex.pl#

Functions

all_weights(model[, views, clip, ...])

Plot the weight matrices.

covariates_factor_scatter(model, factor[, ...])

Plot a factor against one or two covariate dimensions.

covariates_weight_scatter(model, factor[, ...])

Plot a factor against one or two covariate dimensions.

factor(model[, factor, show_samplenames, ...])

Plot factor values (y-axis) for each sample (x-axis).

factor_correlation(model[, figsize])

Plot the correlation between factors.

factor_gp_covariates(model[, ci_opacity, ...])

Plot the fitted GP mean for each factor in each group at the data covariate locations.

factor_gp_smoothness(model[, figsize])

Plot the smoothness of the GP for each factor.

factor_significance(model[, n_factors, ...])

Plot an overview of the factors summarizing the PCGSE results along with the variance explained per factor.

factor_sparsity_histogram(model[, bins, ...])

Plot a histogram of probabilities that factors are non-zero for views with SnS prior.

factors_covariate(model, covariate1[, ...])

Plot every factor against one or two covariates.

factors_scatter(model, x, y[, groups, ...])

Plot two factors against each other and color by covariates.

overview(data[, group_by, missingcolor, ...])

Generate an overview plot of missing data across different views and groups.

top_weights(model[, n_features, views, ...])

Plot the top weights for a given factor and view.

training_curve(model[, linecolor, ...])

Plot the training curve: -ELBO vs epoch.

variance_explained(model[, group_by, term, ...])

Plot the fraction of variance explained per factor in each group and view.

weight_gp_covariates(model[, ci_opacity, ...])

Plot the fitted GP mean for each factor in each view at the data covariate locations.

weight_gp_smoothness(model[, figsize])

Plot the smoothness of the GP for each factor.

weight_sparsity_histogram(model[, bins, ...])

Plot a histogram of probabilities that weights are non-zero for views with SnS prior.

weights(model[, n_features, views, factors, ...])

Plot the weights for a given factor and view.

weights_covariate(model, covariate1[, ...])

Plot the weights of every factor against one or two covariates.