Skip to content

Commit a092793

Browse files
authored
Merge pull request #21 from MoseleyBioinformaticsLab/updates
Updates
2 parents 21c4abe + e38ad63 commit a092793

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+1209
-433
lines changed

DESCRIPTION

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: ICIKendallTau
22
Title: Calculates information-content-informed Kendall-tau
3-
Version: 1.1.3
3+
Version: 1.2.0
44
Authors@R: c(
55
person(
66
given = c("Robert", "M"),
@@ -21,13 +21,15 @@ LazyData: true
2121
License: MIT + file LICENSE
2222
Encoding: UTF-8
2323
Roxygen: list(markdown = TRUE)
24-
RoxygenNote: 7.3.1
24+
RoxygenNote: 7.3.2
2525
LinkingTo: Rcpp
2626
Imports: Rcpp,
2727
purrr,
2828
utils,
2929
stringr,
30-
stats
30+
stats,
31+
rlang,
32+
cli
3133
Suggests: furrr,
3234
future,
3335
testthat (>= 3.0.0),
@@ -44,4 +46,4 @@ URL: https://moseleybioinformaticslab.github.io/ICIKendallTau/
4446
BugReports:
4547
https://github.com/moseleybioinformaticslab/ICIKendallTau/issues
4648
Config/testthat/edition: 3
47-
Depends: R (>= 2.10)
49+
Depends: R (>= 3.5)

NAMESPACE

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
export(add_uniform_noise)
44
export(calculate_matrix_medians)
5+
export(cor_fast)
56
export(cor_matrix_2_long_df)
67
export(disable_logging)
78
export(enable_logging)
@@ -16,4 +17,5 @@ export(rank_order_data)
1617
export(show_progress)
1718
export(test_left_censorship)
1819
importFrom(Rcpp,sourceCpp)
20+
importFrom(stats,median)
1921
useDynLib(ICIKendallTau)

NEWS.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
# ICIKendallTau 1.2.0
2+
3+
- 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.
4+
- 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.
5+
- Added `alternative` and `continuity` arguments to both `ici_kendalltau` and `kt_fast`.
6+
- Added `cor_fast` to allow running many iterations of `cor.test` on large matrix inputs if desired, with parallel processing to speed things up.
7+
18
# ICIKendallTau 1.1.3
29

310
- makes `rank_order_data` take a sample class argument to enable splitting out by class.

0 commit comments

Comments
 (0)