R/local_show_collection.R

Defines functions show_local_collection

Documented in show_local_collection

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