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
Copy file name to clipboardExpand all lines: CHANGELOG.md
+26-1Lines changed: 26 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,31 @@
3
3
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
4
4
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
5
5
6
+
## v1.5.0 - [2026-01-26]
7
+
8
+
### `Added`
9
+
-[#23](https://github.com/agusinac/OmicFlow/issues/23) active bindings on data types, in place modification and automatic synchronisation between other data types by default via private function `sync`.
10
+
-[#23](https://github.com/agusinac/OmicFlow/issues/23)`featureData` is now always created as placeholder.
11
+
12
+
### `Changed`
13
+
-[#23](https://github.com/agusinac/OmicFlow/issues/23) omics classes are now cloneable.
14
+
-[#23](https://github.com/agusinac/OmicFlow/issues/23)`removeZeros()` function is now private.
15
+
-[#26](https://github.com/agusinac/OmicFlow/issues/26) clarified `initialize` and field tags.
16
+
-[#27](https://github.com/agusinac/OmicFlow/issues/27) Both `denseMatrix` as `sparseMatrix` are converted to `CsparseMatrix`, compatible to `omics$normalize`, `omics$feature_merge`, `diversity`, `hill_taxa` and `C-functions`.
17
+
- Replaced `tmp_link` and `tmp_restore` with inline code. Seems like `private$.countData` doesn't work with a private function.
18
+
- Improved the `cli` formatting and visualisation of different arguments.
19
+
-`print()` inherited for each sub-class from `omics` and uses `cli::cli_inform` instead of `cat`
20
+
-[#21](https://github.com/agusinac/OmicFlow/issues/21) introduced custom half boxplot/point in `diversity_plot`, now also added `group_by` to perform grouped statistical tests.
21
+
- Replaced `read_rarefraction_qiime` by `check_table` from private function of class `omics.`
22
+
-`autoFlow` compatible to denseMatrix formats, applies fdr correction in other omics layers, report can be set to False, removed `nmds`.
23
+
24
+
### `Fixed`
25
+
-[#25](https://github.com/agusinac/OmicFlow/issues/25) changed default value of `initialize` function.
26
+
27
+
### `Deprecated`
28
+
- Removed `tmp_restore` and `tmp_link`
29
+
- Utils function `read_rarefraction_qiime`
30
+
6
31
## v1.4.2 - [2025-11-30]
7
32
8
33
### `Fixed`
@@ -17,7 +42,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
17
42
-[#22](https://github.com/agusinac/OmicFlow/issues/22)`private$check_matrix` checks if any zero's are present before creating a `sparseMatrix`.
18
43
-[#20](https://github.com/agusinac/OmicFlow/issues/20)`omics$compositon` Doesn't show `Others` when there are none.
19
44
-[#24](https://github.com/agusinac/OmicFlow/issues/24)`volcano_plot` only sizes the points if there are significant features found.
20
-
45
+
21
46
### `Deprecated`
22
47
-[#21](https://github.com/agusinac/OmicFlow/issues/21) Removed `gghalves` in `diversity_plot`
Copy file name to clipboardExpand all lines: R/canberra.R
+8-5Lines changed: 8 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
-
#' Compute Canberra Dissimilarity from a Sparse Matrix.
1
+
#' Compute Canberra Dissimilarity from a from a Dense or Sparse Matrix.
2
2
#'
3
3
#' @description
4
-
#' Calculates the Canberra dissimilarity of a \link[Matrix]{sparseMatrix} pairwise for each column.
4
+
#' Calculates the Canberra dissimilarity of a Matrix pairwise for each column.
5
5
#'
6
6
#' @details
7
7
#' The Canberra dissimilarity between two samples \eqn{A} and \eqn{B}, each of length \eqn{n}, is defined as:
@@ -11,7 +11,7 @@
11
11
#' where \eqn{A_i} and \eqn{B_i} are the abundances of the \eqn{i}-th feature in sample \eqn{A} and \eqn{B}, respectively. NZ are the number of non-zero entries.
12
12
#' When weighted is set to FALSE, counts are replaced by presence/absence data.
13
13
#'
14
-
#' @param x A \link[Matrix]{sparseMatrix}.
14
+
#' @param x A \link[base]{matrix}, \link[Matrix]{sparseMatrix} or \link[Matrix]{Matrix}.
15
15
#' @param weighted A boolean value, to use abundances (\code{weighted = TRUE}) or absence/presence (\code{weighted=FALSE}) (default: TRUE).
16
16
#' @param threads A wholenumber, the number of threads to use in \link[RcppParallel]{setThreadOptions} (default: 1).
17
17
#' @return A column x column \link[stats]{dist} object.
0 commit comments