Skip to content

Commit

Permalink
Revert "use flowjo_biexp_trans in scale_x_logicle to avoid DidNotConv…
Browse files Browse the repository at this point in the history
…erge error #88"

This reverts commit 6a870c4.
  • Loading branch information
mikejiang committed Dec 8, 2022
1 parent cf68fa6 commit 0b39667
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/scales_logicle.R
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@
#' p + scale_x_logicle(t = 1e4)
#' @export
scale_x_logicle <- function(..., w = 0.5, t = 262144, m = 4.5, a = 0){
myTrans <- flowjo_biexp_trans(widthBasis = -10^(2 * w), pos=m, neg=a, maxValue = t)
myTrans <- logicle_trans(w = w, t = t, m = m, a = a)
scale_x_continuous(..., trans = myTrans)

}

#' @rdname scale_x_logicle
#' @export
scale_y_logicle <- function(..., w = 0.5, t = 262144, m = 4.5, a = 0){
myTrans <- flowjo_biexp_trans(widthBasis = -10^(2 * w), pos=m, neg=a, maxValue = t)
myTrans <- logicle_trans(w = w, t = t, m = m, a = a)
scale_y_continuous(..., trans = myTrans)
}

0 comments on commit 0b39667

Please sign in to comment.