Skip to content

Commit

Permalink
updates to stats
Browse files Browse the repository at this point in the history
  • Loading branch information
cherman2 committed Oct 24, 2024
1 parent 8ae11f3 commit 7a7bf7f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 31 deletions.
5 changes: 2 additions & 3 deletions q2_fmt/_peds.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@

from qiime2 import Metadata
from q2_fmt._engraftment import _get_to_baseline_ref
from q2_fmt._util import json_replace
from q2_stats._visualizer import _make_stats
from q2_stats.util import json_replace
from q2_stats.plots.raincloud import _make_stats


def peds(ctx, table, metadata, peds_metric, time_column, reference_column,
Expand Down Expand Up @@ -605,7 +605,6 @@ def peds_simulation(table: pd.DataFrame, metadata: qiime2.Metadata,
metadata_df = metadata.to_dataframe()
reference_series = _check_reference_column(metadata_df,
reference_column)

(metadata_df,
used_references) = _filter_associated_reference(reference_series,
metadata_df, time_column,
Expand Down
26 changes: 0 additions & 26 deletions q2_fmt/_util.py

This file was deleted.

5 changes: 3 additions & 2 deletions q2_fmt/plugin_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@
import q2_fmt
from q2_types.feature_table import (
FeatureTable, Frequency, RelativeFrequency, PresenceAbsence)
from q2_stats._type import (Dist1D, Matched, Independent, Ordered,
Unordered, StatsTable, Pairwise, NestedOrdered)
from q2_stats.types.types import (Dist1D, Matched, Independent, Ordered,
Unordered, StatsTable, Pairwise,
NestedOrdered)
import q2_fmt._examples as ex

citations = Citations.load('citations.bib', package='q2_fmt')
Expand Down

0 comments on commit 7a7bf7f

Please sign in to comment.