borsar.cluster.
Clusters
(clusters, pvals, stat, dimnames=None, dimcoords=None, info=None, src=None, subject=None, subjects_dir=None, description=None, sort_pvals=True, safety_checks=True)[source]¶Container for results of cluster-based tests.
Parameters: |
|
---|
Methods
copy () |
Copy the Clusters object. |
get_cluster_limits (cluster_idx[, …]) |
Find cluster limits based on percentage of cluster mass contribution to given dimensions. |
get_contribution ([cluster_idx, along, norm]) |
Get mass percentage contribution to given clusters along specified dimension. |
get_index ([cluster_idx, retain_mass, …]) |
Get indices (tuple of slices) selecting a specified range of data. |
plot ([cluster_idx, aggregate, set_light, …]) |
Plot cluster. |
plot_contribution (dimname[, axis]) |
Plot contribution of clusters along specified dimension. |
save (fname[, description]) |
Save Clusters to hdf5 file. |
select ([p_threshold, percentage_in, …]) |
Select clusters by p value threshold or its location in the data space. |
__init__
(clusters, pvals, stat, dimnames=None, dimcoords=None, info=None, src=None, subject=None, subjects_dir=None, description=None, sort_pvals=True, safety_checks=True)[source]¶Initialize self. See help(type(self)) for accurate signature.
Methods
__init__ (clusters, pvals, stat[, dimnames, …]) |
Initialize self. |
copy () |
Copy the Clusters object. |
get_cluster_limits (cluster_idx[, …]) |
Find cluster limits based on percentage of cluster mass contribution to given dimensions. |
get_contribution ([cluster_idx, along, norm]) |
Get mass percentage contribution to given clusters along specified dimension. |
get_index ([cluster_idx, retain_mass, …]) |
Get indices (tuple of slices) selecting a specified range of data. |
plot ([cluster_idx, aggregate, set_light, …]) |
Plot cluster. |
plot_contribution (dimname[, axis]) |
Plot contribution of clusters along specified dimension. |
save (fname[, description]) |
Save Clusters to hdf5 file. |
select ([p_threshold, percentage_in, …]) |
Select clusters by p value threshold or its location in the data space. |