Description Usage Arguments Value Examples
merge disease and molecules degs for the disease-enrciehed pathways
1 | merge_pw_deg(m2dObj, disease_pw, disease_pvalue = 0.05)
|
m2dObj |
raw m2d object |
disease_pw |
result of find_disease_pw() |
disease_pvalue |
deg cutoff for disease degs |
merged degs of disease and molecules
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | library(M2D)
dir_disease <- system.file("extdata",
"demo_BRCA_disease.csv",
package = "M2D"
)
disease <- read.csv(dir_disease)
dir_molecule <- system.file("extdata",
"demo_molecules_321_12320.csv",
package = "M2D"
)
molecules <- data.table::fread(dir_molecule,
data.table = FALSE
) %>%
tibble::column_to_rownames("V1")
m2dObj <- list(
disease = disease,
molecule = molecules
)
data("find_disease_pw_result")
merge_pw_degs <- merge_pw_deg(m2dObj,
disease_pw = find_disease_pw_result$term_df
)
head(merge_pw_degs)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.