GOBP_uncor: select top n uncorrelated GOterms from given GOBP pathways

Description Usage Arguments Value Examples

View source: R/GOBP_uncor.R

Description

select top n uncorrelated GOterms from given GOBP pathways

Usage

1
GOBP_uncor(pwID, uncor_cut = 0.6, retain_number = 10)

Arguments

pwID

original GOBP pathways

uncor_cut

uncorrelated cut-off

retain_number

numbers of uncorrelated GOterms

Value

top n uncorrelated GOterms

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
library(M2D)
data(goegs)
set.seed(123)
pwIDs <- c(
  "GO:0001959", "GO:0001578", "GO:0050806", "GO:0051648", "GO:0052548",
  "GO:0072001", "GO:0010720", "GO:0097746", "GO:0044264", "GO:1901342",
  "GO:0043414", "GO:0006805", "GO:1901989", "GO:0007188", "GO:0001655",
  "GO:0055067", "GO:0055001", "GO:0006839", "GO:0003015", "GO:0009063"
)
pwIDs_5 <- GOBP_uncor(pwIDs, uncor_cut = 0.6, retain_number = 5)

lishensuo/M2D documentation built on Jan. 4, 2022, 9:44 a.m.