R/show_local_contributor_org.R

Defines functions show_local_contributor_org

Documented in show_local_contributor_org

#' Show contributor_orgs of local MsigDB database
#'
#' @return A dataframe contains 2 columns. The first column is the name of the contributor_org.
#'     The second column is the number of frequencies it has.
#' @export
#'
#' @examples
#' show_local_contributor_org()
#'
show_local_contributor_org <- function(){
    df <- data.frame(table(msigdb$contributor_org))
    colnames(df)[1]='contributor_org'
    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.