Skip to content

Commit

Permalink
Non-ASCII char replaced
Browse files Browse the repository at this point in the history
  • Loading branch information
lmrodriguezr committed Feb 13, 2018
1 parent e2e62d1 commit 78a3f2c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions enveomics.R/R/recplot2.R
Original file line number Diff line number Diff line change
Expand Up @@ -630,7 +630,7 @@ enve.recplot2.compareIdentities <- function
### one of:
### "hellinger" (Hellinger, 1090, doi:10.1515/crll.1909.136.210),
### "bhattacharyya" (Bhattacharyya, 1943, Bull. Calcutta Math. Soc. 35),
### "kl" or "kullbackleibler" (Kullback & Leibler, 1951,
### "kl" or "kullback-leibler" (Kullback & Leibler, 1951,
### doi:10.1214/aoms/1177729694), or "euclidean".
pseudocounts=0,
### Smoothing parameter for Laplace smoothing. Use 0 for no smoothing, or
Expand All @@ -639,7 +639,7 @@ enve.recplot2.compareIdentities <- function
### Maximum mean deviation between identity breaks tolerated (as percent
### identity). Difference in number of id.breaks is never tolerated.
){
METHODS <- c("hellinger","bhattacharyya","kullbackleibler","kl","euclidean")
METHODS <- c("hellinger","bhattacharyya","kullback-leibler","kl","euclidean")
i.meth <- pmatch(method, METHODS)
if (is.na(i.meth)) stop("invalid clustering method", paste("", method))
if(!inherits(x, "enve.RecPlot2"))
Expand Down
2 changes: 1 addition & 1 deletion enveomics.R/man/enve.recplot2.compareIdentities.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
one of:
"hellinger" (Hellinger, 1090, doi:10.1515/crll.1909.136.210),
"bhattacharyya" (Bhattacharyya, 1943, Bull. Calcutta Math. Soc. 35),
"kl" or "kullbackleibler" (Kullback & Leibler, 1951,
"kl" or "kullback-leibler" (Kullback & Leibler, 1951,
doi:10.1214/aoms/1177729694), or "euclidean".}
\item{pseudocounts}{Smoothing parameter for Laplace smoothing. Use 0 for no smoothing, or
1 for add-one smoothing.}
Expand Down

0 comments on commit 78a3f2c

Please sign in to comment.