Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates #21

Merged
merged 5 commits into from
Jul 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: ICIKendallTau
Title: Calculates information-content-informed Kendall-tau
Version: 1.1.3
Version: 1.2.0
Authors@R: c(
person(
given = c("Robert", "M"),
Expand All @@ -21,13 +21,15 @@ LazyData: true
License: MIT + file LICENSE
Encoding: UTF-8
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.3.1
RoxygenNote: 7.3.2
LinkingTo: Rcpp
Imports: Rcpp,
purrr,
utils,
stringr,
stats
stats,
rlang,
cli
Suggests: furrr,
future,
testthat (>= 3.0.0),
Expand All @@ -44,4 +46,4 @@ URL: https://moseleybioinformaticslab.github.io/ICIKendallTau/
BugReports:
https://github.com/moseleybioinformaticslab/ICIKendallTau/issues
Config/testthat/edition: 3
Depends: R (>= 2.10)
Depends: R (>= 3.5)
2 changes: 2 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

export(add_uniform_noise)
export(calculate_matrix_medians)
export(cor_fast)
export(cor_matrix_2_long_df)
export(disable_logging)
export(enable_logging)
Expand All @@ -16,4 +17,5 @@ export(rank_order_data)
export(show_progress)
export(test_left_censorship)
importFrom(Rcpp,sourceCpp)
importFrom(stats,median)
useDynLib(ICIKendallTau)
7 changes: 7 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# ICIKendallTau 1.2.0

- Refactored much of `ici_kendalltau`, making the code more consistent and easier to extend, as well as providing more informative error messages. Thanks to @njtierney for suggestions.
- Also refactored `kt_fast` to be more consistent and use more functions internally. **Note**: now returns matrix or data.frame regardless of whether passing simply two vectors or a matrix input.
- Added `alternative` and `continuity` arguments to both `ici_kendalltau` and `kt_fast`.
- Added `cor_fast` to allow running many iterations of `cor.test` on large matrix inputs if desired, with parallel processing to speed things up.

# ICIKendallTau 1.1.3

- makes `rank_order_data` take a sample class argument to enable splitting out by class.
Expand Down
Loading
Loading