Separate MANGO terms by condition specificity (with PASS/FAIL filtering)
Source:R/MANGO_SEPERATE.R
MANGO_SEPERATE.RdThis function separates MANGO terms by condition using the comparison matrix, then applies additional filtering based on the number of matched GO terms per tree (>= PASSED_NUM) for each condition and for non-separated terms.
Arguments
- input_COMPARE
Path to MANGO_COMPARE output file.
- fileTABLE_path
Path to MANGO_PREPROCESSING_list file (condition table).
- GOTABLE_path
Path to GO result list table (GO_list_path).
- FC
Fold-change ratio cutoff used for separating condition-specific terms.
- PASSED_NUM
Minimum number of matched GO terms required to keep a tree.
- outputPATH
Output path to write the separated table.
Examples
stopifnot(is.function(MANGO_SEPERATE))
# \donttest{
# MANGO_SEPERATE(
# input_COMPARE = "MANGO_COMPARE.txt",
# fileTABLE_path = "MANGO_PREPROCESSING_list.txt",
# GOTABLE_path = "input_DEG_GO_list.txt",
# FC = 2,
# PASSED_NUM = 4,
# outputPATH = "MANGO_SEPERATE.txt"
# )
# }