rename_dupnewID | R Documentation |
rename the duplicated newID in moduleinf and renew the ID in DEPstat
rename_dupnewID(DEPstat, moduleinf, DEPfromMod = FALSE)
DEPstat |
a dataframe contains columns:"new.ID" and "ori.ID". it can get from |
moduleinf |
a dataframe contains columns:"new.ID" and "ori.ID". it can get from |
DEPfromMod |
a logical value indicated that whether DEPstat and moduleinf is getted from the same datasets. The default value is FALSE. |
a data.frame contains DEPstat information and renewed the new.ID column.
Kefu Liu
data(net) data(imputedData) Module <- Module_inf(net, imputedData$inf) group <- gsub("[0-9]+","", colnames(imputedData$intensity)) data <- imputedData data$inf <- data$inf[1:100,] data$intensity <- data$intensity[1:100,] stat <- dataStatInf(data, group, meanmethod = "median", T.test = "pairwise", Aadj = "fdr", Tadj = "fdr", cutoff = FALSE) stat <- rename_dupnewID(stat, Module, DEPfromMod = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.