type: 'pathway' or 'module' for default KOlist for microbiome, 'CC', 'MF', 'BP', 'ALL' for default GOlist for homo sapiens. And org in listed in 'https://www.genome.jp/kegg/catalog/org_list.html' such as 'hsa' (if your kodf is come from a specific organism, you should specify type here).
feature: one of 'ko', 'gene', 'compound'
threads: default 1
modulelist: NULL or customized modulelist dataframe, must contain 'id','K_num','KOs','Description' columns. Take the KOlist as example, use custom_modulelist.
perm: permutation number, default: 4999.
verbose: logical
p.adjust.method2: p.adjust.method for the correction of ReporterScore, see p.adjust
min_exist_KO: min exist KO number in a pathway (default, 3, when a pathway contains KOs less than 3, there will be no RS)
max_exist_KO: max exist KO number in a pathway (default, 600, when a pathway contains KOs more than 600, there will be no RS)