custom_modulelist {ReporterScore}R Documentation

Build a custom modulelist

Description

Build a custom modulelist

Transform a modulelist to a list

Usage

custom_modulelist(pathway2ko, pathway2desc = NULL, verbose = TRUE)

transform_modulelist(mymodulelist, mode = 1)

Arguments

pathway2ko

user input annotation of Pathway to KO mapping, a data.frame of 2 column with pathway and ko.

pathway2desc

user input of Pathway TO Description mapping, a data.frame of 2 column with pathway and description.

verbose

verbose

mymodulelist

mymodulelist

mode

1~2

Value

a custom modulelist

modulelist

See Also

Other modulelist: custom_modulelist_from_org(), get_features()

Other modulelist: custom_modulelist_from_org(), get_features()

Examples

mydat <- data.frame(pathway = paste0("PATHWAY", rep(seq_len(2), each = 5)), ko = paste0("K", 1:10))
mymodulelist <- custom_modulelist(mydat)
print(mymodulelist)
transform_modulelist(mymodulelist)

[Package ReporterScore version 0.1.4 Index]