R/show_local_contributor.R

Defines functions show_local_contributor

Documented in show_local_contributor

#' Show contributors of local MsigDB database
#'
#' @return A dataframe contains 2 columns. The first column is the name of the contributor.
#'     The second column is the number of frequencies it has.
#' @export
#'
#' @examples
#' show_local_contributor()
#'
show_local_contributor <- function(){
    df <- data.frame(table(msigdb$contributor))
    colnames(df)[1]='contributor'
    df
}

Try the msig package in your browser

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

msig documentation built on June 29, 2021, 9:08 a.m.