moduleID {DDPNA}R Documentation

extract intersection ID between dataset and module

Description

extract intersection ID between dataset and one of module

Usage

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

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")

[Package DDPNA version 0.3.1 Index]