R/windowMethods.R

Defines functions summarizeWindowMethods

Documented in summarizeWindowMethods

#' Lists methods for possible window methods
#' 
#' Function to list how neighbouring positions can be combined.
#' 
#' @return Returns a data frame with all possible methods. 
#' @author Djork-Arne Clevert \email{okko@@clevert.de} and 
#' Andreas Mitterecker \email{mitterecker@@bioinf.jku.at}
#' @export 
#' @examples
#' summarizeWindowMethods()
summarizeWindowMethods <- function() {
    pattern <- "summarizeWindow"
    func <- ls("package:cn.farms")
    funcSel <- func[grep(pattern, func)]
    funcSel <- funcSel[-which(funcSel == "summarizeWindowMethods")]
    funcCall <- gsub(pattern, "", funcSel)
    funcSel <- paste(funcSel, "()", sep = "")
    return(data.frame("call"=funcCall, "assignedFunction"=funcSel))
}

Try the cn.farms package in your browser

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

cn.farms documentation built on Nov. 8, 2020, 7:59 p.m.