skbio.stats.ordination.
OrdinationResults
(short_method_name, long_method_name, eigvals, samples, features=None, biplot_scores=None, sample_constraints=None, proportion_explained=None)[source]¶Store ordination results, providing serialization and plotting support.
Stores various components of ordination results. Provides methods for serializing/deserializing results, as well as generation of basic matplotlib 3-D scatterplots. Will automatically display PNG/SVG representations of itself within the IPython Notebook.
short_method_name
¶Abbreviated ordination method name.
str
long_method_name
¶Ordination method name.
str
eigvals
¶The resulting eigenvalues. The index corresponds to the ordination axis labels
pd.Series
samples
¶The position of the samples in the ordination space, row-indexed by the sample id.
pd.DataFrame
features
¶The position of the features in the ordination space, row-indexed by the feature id.
pd.DataFrame
biplot_scores
¶Correlation coefficients of the samples with respect to the features.
pd.DataFrame
sample_constraints
¶Site constraints (linear combinations of constraining variables): coordinates of the sites in the space of the explanatory variables X. These are the fitted site scores
pd.DataFrame
proportion_explained
¶Proportion explained by each of the dimensions in the ordination space. The index corresponds to the ordination axis labels
pd.Series
Attributes
|
|
|
Display basic 3-D scatterplot in IPython Notebook as PNG. |
|
Display basic 3-D scatterplot in IPython Notebook as SVG. |
Built-ins
Return hash(self). |
|
Return a string representation of the ordination results. |
Methods
|
Create a 3-D scatterplot of ordination results colored by metadata. |
|
Create a new |
|
Write an instance of |