install.packages("remotes")
remotes::install_github("alesantuz/musclesyneRgies")
README and vignettes are available both on CRAN and on GitHub.
- Improved robustness of function
classify_kmeans
, which can now deal with trial names containing dots.
install.packages("remotes")
remotes::install_github("alesantuz/musclesyneRgies")
README and vignettes are available both on CRAN and on GitHub.
- Improved robustness of function
filtEMG
.
install.packages("remotes")
remotes::install_github("alesantuz/musclesyneRgies")
README and vignettes are available both on CRAN and on GitHub.
- Performance improvement in function
classify_kmeans
- Use of previously unused variable in function
sMLE
.
install.packages("remotes")
remotes::install_github("alesantuz/musclesyneRgies")
README and vignettes are available both on CRAN and on GitHub.
- The function
synsNMF
is now faster.
install.packages("remotes")
remotes::install_github("alesantuz/musclesyneRgies")
README and vignettes are available both on CRAN and on GitHub.
- Back to original
synsNMF
function, with l2-norm applied to weights M and then scaling P accordingly.
install.packages("remotes")
remotes::install_github("alesantuz/musclesyneRgies")
README and vignettes are available both on CRAN and on GitHub.
- Faster
synsNMF
function, l2-norm is applied only to weights M.
install.packages("remotes")
remotes::install_github("alesantuz/musclesyneRgies")
README and vignettes are available both on CRAN and on GitHub.
- Faster
sMLE
function. - Faster
CoA
function - Improved l2-norm in function
synsNMF
.
install.packages("remotes")
remotes::install_github("alesantuz/musclesyneRgies")
README and vignettes are available both on CRAN and on GitHub.
- New function
cossim
allows to calculate the cosine similarity between two vectors.
install.packages("remotes")
remotes::install_github("alesantuz/musclesyneRgies")
README and vignettes are available both on CRAN and on GitHub.
- Customisable y-axis limits in
plot_classified_syns
- Number of clusters can be imposed in
classify_kmeans
- Modules and primitives are now called muscle weights and activation patterns, respectively.
install.packages("musclesyneRgies")
README and vignettes are available both on CRAN and on GitHub.
- Removed dependency from
gtools
- Removed JOSS paper folder
- CRAN release.
install.packages("remotes")
remotes::install_github("alesantuz/musclesyneRgies")
README and vignettes are available both on CRAN and on GitHub.
- Increased robustness of
subsetEMG
- Added tests for
subsetEMG
- Updated
CITATION
files synsNMF
now saves the synergy-vs-quality data.
install.packages("remotes")
remotes::install_github("alesantuz/musclesyneRgies")
README and vignettes are available both on CRAN and on GitHub.
- Removed ISBNs from JOSS paper bibliography.
install.packages("remotes")
remotes::install_github("alesantuz/musclesyneRgies")
README and vignettes are available both on CRAN and on GitHub.
- Corrected JOSS paper bibliography.
install.packages("remotes")
remotes::install_github("alesantuz/musclesyneRgies")
README and vignettes are available both on CRAN and on GitHub.
- Version ready for JOSS paper after spell check.
install.packages("remotes")
remotes::install_github("alesantuz/musclesyneRgies")
README and vignettes are available both on CRAN and on GitHub.
- Version ready for JOSS paper.
install.packages("remotes")
remotes::install_github("alesantuz/musclesyneRgies")
README and vignettes are available both on CRAN and on GitHub.
- Cleaned and adjusted code according to
goodpractice::gp()
suggestions (thanks @fabian_s for the hint!) - Added more tests for
classify_kmeans
,synsNMF
,subsetEMG
,sMLE
,normEMG
,Hurst
,HFD
,filtEMG
,plot_classified_syns_UMAP
,plot_meanEMG
,plot_rawEMG
.
install.packages("remotes")
remotes::install_github("alesantuz/musclesyneRgies")
README and vignettes are available both on CRAN and on GitHub.
- Added to README the possibility to download a full data set from Zenodo
- Added definition of muscle synergies to README
- Added definition of motor modules and motor primitives to README
- Improved documentation of
classify_kmeans
,HFD
andHurst
- Added test for
classify_kmeans
.
install.packages("remotes")
remotes::install_github("alesantuz/musclesyneRgies")
README and vignettes are available both on CRAN and on GitHub.
- Updated tests to check for compatibility with single-column cycles.
install.packages("devtools")
devtools::install_github("alesantuz/musclesyneRgies")
README and vignettes are available both on CRAN and on GitHub.
- Improved robustness of EMG pre-processing functions for one-column cycle times.
install.packages("devtools")
library(devtools)
install_github("alesantuz/musclesyneRgies")
README and vignettes are available both on CRAN and on GitHub.
- Removed
emg
data frame row names inRAW_DATA
list - Updated JOSS paper draft
rawdata
can now handle RData files saved withsave()
.
install.packages("devtools")
library(devtools)
install_github("alesantuz/musclesyneRgies")
README and vignettes are available both on CRAN and on GitHub.
- Added Open Journals PDF Generator GitHub Action
- First JOSS paper draft.
install.packages("devtools")
library(devtools)
install_github("alesantuz/musclesyneRgies")
README and vignettes are available both on CRAN and on GitHub.
- Improved robustness of
normEMG
function.
install.packages("musclesyneRgies")
README and vignettes are available both on CRAN and on GitHub.
- Faster examples and tests for CRAN
- Removed
classify_NMF
function.
install.packages("musclesyneRgies")
README and vignettes are available both on CRAN and on GitHub.
- Removed all progress bars.
install.packages("musclesyneRgies")
README and vignettes are available both on CRAN and on GitHub.
musclesyneRgies
is on CRAN!- Adjusted
test-CoA.R
to pass onM1mac
andnoLD
.
install.packages("devtools")
library(devtools)
install_github("alesantuz/musclesyneRgies")
Follow the README for a breakdown of the typical workflow.
- This version was submitted to CRAN for checks
- Added tests
- Added
NEWS.md
to track changes to the package - Function
plot_rawEMG
can now plot muscle activities in custom grid (argumentsrow_number
andcol_number
) - Line thickness and colour can now be specified in function
plot_rawEMG
(argumentsline_size
andline_col
) - Added dark mode to
plot_rawEMG
,plot_meanEMG
,plot_syn_trials
andplot_classified_syns
- Function
plot_syn_trials
partially rewritten with new native pipes|>
andlapply
instead of for loops - Updated
README
- Added
CITATION.cff
using R packagecffr
- Simplified all plot functions, which now exports
gtable
objects rather tan saving to file - Added tests for plot functions
- Added vignettes (
workflow
,plots
,analysis
andpro_tips
).
install.packages("devtools")
library(devtools)
install_github("alesantuz/musclesyneRgies")
Follow the README for a breakdown of the typical workflow.
- Rectification can now be avoided in
filtEMG
if needed withrectif = "none"
- Functions
plot_rawEMG
andplot_meanEMG
partially rewritten with new native pipes|>
andlapply
instead of for loops - Fixed a bug in
synsNMF
that didn't L2-normaliseM
andP
in iteration "zero".
install.packages("devtools")
library(devtools)
install_github("alesantuz/musclesyneRgies")
- The short-term maximum Lyapunov exponents of motor primitives can now be calculated with the new function
sMLE
- Zero- or negative values in relevant matrices are now replaced with the smallest non-zero around twice as fast
- L2-normalisation within
synsNMF
is now 1.5-2x faster - All code re-styled in tidyverse style using styler
- Fixed a bug in
filtEMG
that didn't allow to avoid low-pass filtering if needed.
- All code re-styled with tidyverse style using styler, plus new logo!
v1.0.0 coming soon with function for calculating the short-term maximum Lyapunov exponents of motor primitives.
- Improved robustness of functions
subsetEMG
andnormEMG
when cycle times are given as data frames.
- This not-so-minor update allows the user to extract synergies with a fixed rank.
musclesyneRgies
is now a R package. Follow the README for a breakdown of the typical workflow. This is the first release, still in beta.
- Fixed a bug in the UMAP plots.
- Housekeeping and UMAP plots of mean filtered EMG.
- UMAP plots of classified synergies are saved in the NMF folder for advanced visualisation of factorisation/classification outcomes.
UMAP details: McInnes, Leland, John Healy, and James Melville. "Umap: Uniform manifold approximation and projection for dimension reduction." arXiv preprint arXiv:1802.03426 (2018).
R-package: https://cran.r-project.org/web/packages/umap/
- Raw EMG plots are now saved for each trial. The last
raw_pl
(see line 133) seconds of the trial are considered for plots.
- When reordering synergies manually during classification, the user can now repeat endlessly the classification if mistakes are made during input.
- A bit of housekeeping and now the clusters found by k-means classification are saved in one plot per condition.
- The robustness of k-means classification is improved and can now better deal with special cases of clusters with similar CoA and FWHM.
- Now the classification method is saved in the SYNS_classified list and can be used by step 4 (graph creation) to save the classification method in the file name.
- Now the classification method is saved in the file name when producing graph in step 4.
- First public API of
musclesyneRgies
- Fixed a bug in section 4