R/sitePath-deprecated.R

Defines functions multiFixationSites.lineagePath multiFixationSites

Documented in multiFixationSites

#' @rdname sitePath-deprecated
#' @name sitePath-deprecated
#' @aliases multiFixationSites
#' @title Deprecated functions in package \sQuote{sitePath}
#' @description These functions are provided for compatibility with older
#'   versions of \sQuote{sitePath} only, and will be defunct at the next
#'   release.
#' @details The following functions are deprecated and will be made defunct; use
#'   the replacement indicated below: \itemize{ \item{multiFixationSites:
#'   \code{\link{fixationSites}}} }
NULL

#' @export
multiFixationSites <- function(paths, ...) {
    UseMethod("multiFixationSites")
}

#' @export
multiFixationSites.lineagePath <- function(paths,
                                           samplingSize = NULL,
                                           samplingTimes = 100,
                                           minEffectiveSize = 0,
                                           searchDepth = 1,
                                           method = c("compare", "insert", "delete"),
                                           ...) {
    .Deprecated("fixationSites")
    res <- fixationSites.lineagePath(
        paths = paths,
        minEffectiveSize = minEffectiveSize,
        searchDepth = searchDepth,
        method = method,
        ...
    )
    return(res)
}

Try the sitePath package in your browser

Any scripts or data that you put into this service are public.

sitePath documentation built on April 17, 2021, 6:05 p.m.