Package: matrixset 0.3.0.9007

matrixset: Creating, Manipulating and Annotating Matrix Ensemble

Creates an object that stores a matrix ensemble, matrices that share the same common properties, where rows and columns can be annotated. Matrices must have the same dimension and dimnames. Operators to manipulate these objects are provided as well as mechanisms to apply functions to these objects.

Authors:Pascal Croteau [aut, cre, cph]

matrixset_0.3.0.9007.tar.gz
matrixset_0.3.0.9007.zip(r-4.5)matrixset_0.3.0.9007.zip(r-4.4)matrixset_0.3.0.9007.zip(r-4.3)
matrixset_0.3.0.9007.tgz(r-4.4-x86_64)matrixset_0.3.0.9007.tgz(r-4.4-arm64)matrixset_0.3.0.9007.tgz(r-4.3-x86_64)matrixset_0.3.0.9007.tgz(r-4.3-arm64)
matrixset_0.3.0.9007.tar.gz(r-4.5-noble)matrixset_0.3.0.9007.tar.gz(r-4.4-noble)
matrixset_0.3.0.9007.tgz(r-4.4-emscripten)matrixset_0.3.0.9007.tgz(r-4.3-emscripten)
matrixset.pdf |matrixset.html
matrixset/json (API)
NEWS

# Install 'matrixset' in R:
install.packages('matrixset', repos = c('https://pascalcroteau.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/pascalcroteau/matrixset/issues

Uses libs:
  • c++– GNU Standard C++ Library v3
Datasets:
  • mrm_plus2015 - Table S1 and S2 of MRMPlus Paper in 'matrixset' Format
  • student_results - Fake Final Exam Results of School Students Before and After Remedial Courses

On CRAN:

71 exports 1 stars 1.26 score 25 dependencies 12 scripts 216 downloads

Last updated 7 months agofrom:02d2b402f0. Checks:OK: 7 NOTE: 2. Indexed: yes.

TargetResultDate
Doc / VignettesOKSep 18 2024
R-4.5-win-x86_64NOTESep 18 2024
R-4.5-linux-x86_64NOTESep 18 2024
R-4.4-win-x86_64OKSep 18 2024
R-4.4-mac-x86_64OKSep 18 2024
R-4.4-mac-aarch64OKSep 18 2024
R-4.3-win-x86_64OKSep 18 2024
R-4.3-mac-x86_64OKSep 18 2024
R-4.3-mac-aarch64OKSep 18 2024

Exports:add_matrixannotate_columnannotate_column_from_applyannotate_rowannotate_row_from_applyapply_columnapply_column_dflapply_column_dfwapply_matrixapply_matrix_dflapply_matrix_dfwapply_rowapply_row_dflapply_row_dfwarrange_columnarrange_rowas_matrixsetcolumn_group_bycolumn_group_by_drop_defaultcolumn_group_indicescolumn_group_keyscolumn_group_metacolumn_group_varscolumn_group_wherecolumn_groupscolumn_infocolumn_info<-column_poscolumn_rel_poscolumn_tagcolumn_traitscolumn_traits<-column_ungroupcurrent_column_infocurrent_column_namecurrent_n_columncurrent_n_rowcurrent_row_infocurrent_row_namefilter_columnfilter_rowis_matrixsetjoin_column_infojoin_row_infomatrix_elmmatrix_elm<-matrixnamesmatrixnames<-matrixsetms_to_dfmutate_matrixnmatrixremove_column_annotationremove_matrixremove_row_annotationrow_group_byrow_group_by_drop_defaultrow_group_indicesrow_group_keysrow_group_metarow_group_varsrow_group_whererow_groupsrow_inforow_info<-row_posrow_rel_posrow_tagrow_traitsrow_traits<-row_ungroup

Dependencies:clicpp11crayondplyrfansigenericsgluelatticelifecyclemagrittrMatrixpillarpkgconfigpurrrR6Rcpprlangstringistringrtibbletidyrtidyselectutf8vctrswithr

A Gentle Introduction to matrixset

Rendered fromintroduction.Rmdusingknitr::rmarkdownon Sep 18 2024.

Last update: 2024-02-18
Started: 2023-01-01

An Example of matrixset in Action

Rendered fromexample.Rmdusingknitr::rmarkdownon Sep 18 2024.

Last update: 2024-01-02
Started: 2023-04-01

Applying Functions

Rendered fromapply.Rmdusingknitr::rmarkdownon Sep 18 2024.

Last update: 2023-03-03
Started: 2023-02-21

How to annotate a matrixset

Rendered fromannotation.Rmdusingknitr::rmarkdownon Sep 18 2024.

Last update: 2023-03-07
Started: 2023-03-07

Readme and manuals

Help Manual

Help pageTopics
Replace Parts of a matrixset[<-.matrixset
Add matrices to the 'matrixset' objectadd_matrix
Create/modify/delete annotations of a 'matrixset' objectannotate annotate_column annotate_row
Apply functions to a single matrix of a matrixset and store results as annotationannotate_column_from_apply annotate_from_matrix annotate_row_from_apply
Re-order rows or columns of a 'matrixset'arrange arrange_column arrange_row
Coerce object into 'matrixset'as_matrixset
Default value for .drop argument of function column_group_by()column_group_by_drop_default
Contexts dependent functionscolumn_pos column_rel_pos context current_column_info current_column_name current_n_column current_n_row current_row_info current_row_name row_pos row_rel_pos
Subset columns using annotation valuesfilter_column
Subset rows using annotation valuesfilter_row
Group rows/columns of a matrixset by one or more variablescolumn_group_by column_ungroup group_by row_group_by row_ungroup
Add meta info from another 'matrixset' or a 'data.frame'join join_column_info join_row_info
Apply functions to each matrix of a matrixsetapply_column apply_column_dfl apply_column_dfw apply_matrix apply_matrix_dfl apply_matrix_dfw apply_row apply_row_dfl apply_row_dfw loop
Matrix Setmatrixset
Matrixset group metadatacolumn_groups column_group_indices column_group_keys column_group_meta column_group_vars column_group_where meta row_groups row_group_indices row_group_keys row_group_meta row_group_vars row_group_where
Table S1 and S2 of MRMPlus Paper in 'matrixset' Formatmrm_plus2015
Convert matrixset to data framems_to_df
Create/modify/delete matrices from a 'matrixset' objectmutate_matrix
Print a matrixsetprint.matrixset
Matrixset propertiescolumn_info column_info<- column_tag column_traits column_traits<- dim.matrixset dimnames.matrixset dimnames<-.matrixset is_matrixset matrixnames matrixnames<- matrix_elm matrix_elm<- nmatrix properties row_info row_info<- row_tag row_traits row_traits<-
Remove meta info of a 'matrixset'remove_anno remove_column_annotation remove_row_annotation
Remove one or more matrices of the 'matrixset' objectremove_matrix
Default value for .drop argument of function row_group_by()row_group_by_drop_default
Fake Final Exam Results of School Students Before and After Remedial Coursesstudent_results
Subsetting matrixsets$.matrixset subsetting [.col_grouped_ms [.dual_grouped_ms [.matrixset [.row_grouped_ms [[.matrixset