mosaicperm.core.MosaicPermutationTest

class mosaicperm.core.MosaicPermutationTest[source]

Generic class meant for subclassing.

Methods

compute_mosaic_residuals()

Computes mosaic-style residual estimates.

fit([nrand, verbose])

Runs the mosaic permutation test.

fit_tseries([nrand, verbose, n_timepoints, ...])

Runs mosaic permutation tests for various windows of the data, producing a time series of p-values.

permute_residuals([method])

Permutes residuals within tiles.

plot_tseries([time_index, alpha, show_plot])

Plots the results of fit_tseries().

summary([coordinate_index])

Produces an output summarizing the test.

summary_plot([show_plot])

Produces a plot summarizing the results of the test.