You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In MoSeq2-Analysis-Visualization-Notebook.ipynb, the stat_type is not behaving as expected. I ran the below code, but got almost the same fingerprint plot as using stat_type='mean'.
stat_type = 'std'
n_bins = 100 # resolution of distribution
range_type = 'robust' # robust or full
preprocessor = MinMaxScaler()
summary, range_dict = create_fingerprint_dataframe(moseq_df, stats_df, stat_type=stat_type, groupby_list=groupby, n_bins=n_bins, range_type=range_type)
plotting_fingerprint(summary, progress_paths['plot_path'], range_dict, preprocessor=preprocessor)
Expected Behavior
The fingerprint plot should show the std summary
Current Behavior
The fingerprint plot showed the mean summary but the range of the velocity column is different
Possible Solution
I think the problem is in create_fingerprint_dataframe. The pivot_table function is not using the stat_type for getting the summary.
Your Environment
moseq2-extract, version 1.1.2
moseq2-pca, version 1.1.3
moseq2-model, version 1.1.2
moseq2-viz, version 1.2.0
MoSeq2 app version: v1.2.0
Python path: /home/jingliulj/miniconda3/envs/moseq2-app/bin/python3.7
The text was updated successfully, but these errors were encountered:
In MoSeq2-Analysis-Visualization-Notebook.ipynb, the stat_type is not behaving as expected. I ran the below code, but got almost the same fingerprint plot as using stat_type='mean'.
Expected Behavior
The fingerprint plot should show the std summary
Current Behavior
The fingerprint plot showed the mean summary but the range of the velocity column is different
Possible Solution
I think the problem is in create_fingerprint_dataframe. The pivot_table function is not using the stat_type for getting the summary.
Your Environment
moseq2-extract, version 1.1.2
moseq2-pca, version 1.1.3
moseq2-model, version 1.1.2
moseq2-viz, version 1.2.0
MoSeq2 app version: v1.2.0
Python path: /home/jingliulj/miniconda3/envs/moseq2-app/bin/python3.7
The text was updated successfully, but these errors were encountered: