Skip to content

Commit

Permalink
Merge branch 'devel' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
teng-gao committed Jun 6, 2023
2 parents 992266f + 5ab5407 commit dc5c3fe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
4 changes: 2 additions & 2 deletions R/utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -1236,7 +1236,7 @@ find_common_diploid = function(
bind_rows() %>%
rowwise() %>%
mutate(
p = t.test.pval(
p = t_test_pval(
x = bulks_bal$lnFC[bulks_bal$seg == i & bulks_bal$sample == s],
y = bulks_bal$lnFC[bulks_bal$seg == j & bulks_bal$sample == s]
),
Expand Down Expand Up @@ -1853,7 +1853,7 @@ simes_p = function(p.vals, n_dim) {

#' T-test wrapper, handles error for insufficient observations
#' @keywords internal
t.test.pval = function(x, y) {
t_test_pval = function(x, y) {
if (length(x) <= 1 | length(y) <= 1) {
return(1)
} else {
Expand Down
12 changes: 0 additions & 12 deletions man/t.test.pval.Rd

This file was deleted.

0 comments on commit dc5c3fe

Please sign in to comment.