moduleID: extract intersection ID between dataset and module

Description Usage Arguments Details Author(s) Examples

Description

extract intersection ID between dataset and one of module

Usage

1
moduleID(inf, module, num, coln = "new.ID")

Arguments

inf

dataset protein ID information. a vector of protein IDs.

module

module information which is getted in Module_inf function.

num

module number which will extract to compared with dataset ID information.

coln

column names of module protein IDs.

Details

column coln information in module when module number is num intersect with inf.

Author(s)

Kefu Liu

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
rm(list = ls())
library(DDPNA)
data(net)
data(imputedData)
data <- imputedData
logD <- data$log2_value
rownames(logD) <- data$inf$ori.ID
group <- gsub("[0-9]+","", colnames(logD))
Module <- Module_inf(net, data$inf)
up <- changedID(logD, group, vs.set2 = "ad",vs.set1 = "ctl",
              rank = "foldchange",anova = FALSE, Padj = "none",cutoff = 1,
              datatype = "log2",fctype = "up")
intersection <- moduleID(up, Module, 5, coln = "ori.ID")

liukf10/TEST documentation built on May 20, 2019, 12:59 a.m.