Uncovering Latent Structure in Gliomas Using Multi-Omics Factor Analysis.
The 4 matches
- [1] § 2. Materials and Methods › 2.3. Multi-Omics Factor Analysis (MOFA) ↔ run_mofa.R, lines 18–94 · score 0.74 · MOFA2, MOFA model, medium, training, seed, likelihoods
- [2] § 2. Materials and Methods › 2.5. Gene Set Enrichment Analysis (GSEA) ↔ enrichment.R, lines 50–99 · score 0.73 · stExon, TSS1500, TSS200, bias, BP, GO
- [3] § 3. Results › 3.1. Overview of the Model › 3.1.1. Features Selected ↔ mofa-results.R, lines 351–433 · score 0.60 · gene ISM1, probes selected, mRNA, CpGs, DNA, matrices
- [4] § 3. Results › 3.2. Interpretation and Evaluation of the Findings ↔ mofa-results.R, lines 351–433 · score 0.54 · Pearson correlations, gene regulation, ISM1, probes
Paper
Loaded from Europe PMC by your browser, not stored by OSCR: doi.org · Europe PMC
The paper is loaded when this pane is shown.
The authors' code
R · 508 lines · 18 KB · no license · 2 matches
- setwd("~/Desktop/artigo")
- source("setup.R")
- ### Load data
- clinical <- read.csv("DataSets/2_analysis/clinical.csv", row.names = 1)
- survival <- read.csv("DataSets/2_analysis/survival_data.csv", row.names = 1)
- mutations <- read.csv("DataSets/2_analysis/mutations.csv", row.names = 1)
- dna <- read.csv("DataSets/2_analysis/dna.csv", row.names = 1)
- mrna <- read.csv("DataSets/2_analysis/mrna.csv", row.names = 1)
- mirna <- read.csv("DataSets/2_analysis/mirna.csv", row.names = 1)
- info.methy <- read.csv("DataSets/processed_assays/info_methylation.csv", row.names = 1)
- info.mirna <- read.csv("DataSets/processed_assays/info_rna_mirna.csv", row.names = 1)
- info.mrna <- read.csv("DataSets/processed_assays/info_rna_coding.csv", row.names = 1)
- omics.list <- list(Mutations = mutations, Methylation = dna, mRNA = mrna, miRNA = mirna)
- ## Run Model
- source("run_mofa.R")
- output <- run_mofa(omics.list, n_runs = 10, num_factors = NULL,
- likelihoods = c("bernoulli", "gaussian", "gaussian", "gaussian"),
- clinical_data = clinical)
- #### Save Results
- model <- output$model_output
- print(model)
- print(output$time_taken)
- #### Read Z and W
- factors <- as.matrix(read.csv("mofa-output/factors.csv", row.names = 1))
- loadings <- list(
- Mutations = as.matrix(read.csv("mofa-output/loadings_mutations.csv", row.names = 1)),
- Methylation = as.matrix(read.csv("mofa-output/loadings_Methylation.csv", row.names = 1)),
- mRNA = as.matrix(read.csv("mofa-output/loadings_mrna.csv", row.names = 1)),
- miRNA = as.matrix(read.csv("mofa-output/loadings_mirna.csv", row.names = 1))
- )
- ### Results shown in the paper
- ## Variance Decomposition
- p__variance_decomposition <- local({
- p1 <- plot_variance_explained(model, plot_total = T)[[1]]
- p1 <- p1$data
- p1$value <- round(p1$value, 1)
- colnames(p1) <- c("Factor", "View", "Value", "Group")
- p1$Factor <- gsub("([a-zA-Z]+)([0-9]+)", "\\1 \\2", p1$Factor)
- p1$View <- factor(p1$View, levels = c("miRNA", "mRNA", "Methylation", "Mutations"))
- p <- ggplot(p1, aes(x = .data$Value, y = .data$View, fill = .data$Factor)) +
- geom_bar(
- position = position_stack(reverse = T), stat = "identity") +
- stat_identity(
- geom = "text", color = "black", size = 5,
- aes(label = ifelse(.data$Value > 2, .data$Value, "")),
- position = position_stack(reverse = TRUE, vjust = 0.5)
- ) +
- labs(title = "", x = "% of Variance", y = "") +
- scale_fill_manual(values = brewer.pal(n = 4, name = "Oranges")) +
- my_theme
- p
- })
- ggsave(filename = "mofa-results/variance-decomposition.pdf",
- p__variance_decomposition, width = 14, height = 7)
- ## Factors projection
- classified_samples <- clinical[!is.na(clinical$Subtype), ]
- p__factors_projection <- local({
- sample_df <- data.frame(Factor1 = numeric(nrow(classified_samples)),
- Factor3 = numeric(nrow(classified_samples)),
- Factor2 = numeric(nrow(classified_samples)),
- Subtype = rep("GBM", nrow(classified_samples)))
- sample_df$Factor1 <- factors[rownames(classified_samples),1]
- sample_df$Factor3 <- factors[rownames(classified_samples),3]
- sample_df$Factor2 <- factors[rownames(classified_samples),2]
- sample_df$Subtype <- classified_samples$Subtype
- p <- ggplot(sample_df, aes(x = Factor1, y = Factor3)) +
- geom_point(aes(shape = Subtype, color = Factor2), size = 2.5) +
- geom_vline(xintercept=0, linetype="dashed") +
- geom_segment(aes(x = 0, xend = Inf, y = 0, yend = 0), linetype = "dashed") +
- scale_color_gradientn(
- colours = c("darkgreen", "white", "darkred"),
- name = "Factor 2"
- ) +
- my_theme +
- labs(x = "Factor 1", y = "Factor 3", shape = "Subtype")
- p
- })
- ggsave(filename = "mofa-results/factors-projectionUPDATED.pdf", p__factors_projection, width = 6, height = 4)
- ## Hazard Ratio for factors
- plot_survival_factors_univariate <- function(survival, factors_matrix) {
- survival[is.na(survival)] <- 0
- surv_object <- Surv(time = survival[rownames(factors_matrix), "Time"],
- event = survival[rownames(factors_matrix), "Status"])
- results <- lapply(colnames(factors_matrix), function(fac) {
- factor_values <- factors_matrix[, fac, drop = FALSE]
- fit <- coxph(surv_object ~ factor_values)
- s <- summary(fit)
- coef <- s$coefficients
- conf <- s$conf.int
- data.frame(
- factor = fac,
- coef = coef["factor_values", "exp(coef)"],
- p = coef["factor_values", "Pr(>|z|)"],
- lower = conf["factor_values", "lower .95"],
- higher = conf["factor_values", "upper .95"]
- )
- })
- df <- do.call(rbind, results)
- df$factor <- factor(df$factor, levels = rev(df$factor))
- df$significant <- ifelse(df$p < 0.05, "*", "")
- p <- ggplot(df, aes(x = factor, y = coef, ymin = lower, ymax = higher)) +
- geom_pointrange() +
- geom_text(aes(label = significant, y = coef), vjust = -1, size = 5)+
- labs(y="Hazard Ratio", x="") +
- scale_x_discrete(labels = paste0("Factor ", seq(ncol(factors_matrix),1))) +
- geom_hline(aes(yintercept=1), linetype="dotted") +
- coord_flip() +
- my_theme
- return(list(p, df))
- }
- plot_survival_factors_multivariate <- function (survival, factors_matrix){
- survival[is.na(survival)] <- 0
- surv_object <- Surv(time = survival[rownames(factors_matrix), "Time"], event = survival[rownames(factors_matrix), "Status"] )
- fit <- coxph(surv_object ~ factors_matrix)
- s <- summary(fit)
- coef <- s[["coefficients"]]
- df <- data.frame(
- factor = factor(rownames(coef), levels = rev(rownames(coef))),
- p = coef[,"Pr(>|z|)"],
- coef = coef[,"exp(coef)"],
- lower = s[["conf.int"]][,"lower .95"],
- higher = s[["conf.int"]][,"upper .95"])
- df$significant <- ifelse(df$p < 0.05, "*", "")
- p <- ggplot(df, aes(x = factor, y = coef, ymin = lower, ymax = higher)) +
- geom_pointrange() +
- geom_text(aes(label = significant, y = coef), vjust = -1, size = 5)+
- labs(y="Hazard Ratio", x="") +
- scale_x_discrete(labels = paste0("Factor ", seq(ncol(factors_matrix),1))) +
- geom_hline(aes(yintercept=1), linetype="dotted") +
- coord_flip() +
- my_theme
- print(p)
- return(list(p, fit))
- }
- p <- plot_survival_factors_univariate(survival, factors)[[1]]
- ggsave(filename = "mofa-results/factors-hazard-uni.pdf", p, width = 6, height = 4)
- p <- plot_survival_factors_multivariate(survival, factors)[[1]]
- ggsave(filename = "mofa-results/factors-hazard-multi.pdf", p, width = 6, height = 4)
- rm(p)
- ## Features selected & mutations projections
- # Mutations Omic
- mutations_sel_f1_pos <- c("IDH1")
- mutations_sel_f1_neg <- c("PTEN", "EGFR")
- mutations_sel_f3_pos <- c("TP53", "ATRX")
- mutations_sel_f3_neg <- c("CIC")
- p__mutations_projection <- local({
- combs <- c("EGFR", "IDH1", "IDH1", "ATRX", "CIC", "TP53")
- p_list <- list()
- for (k in c(1, 3, 5)){
- p <- plot_factors(model,
- factors = c(1,3),
- color_by = combs[k],
- shape_by = combs[k+1],
- show_missing = T,
- scale = T
- )
- p <- p +
- geom_vline(xintercept=0, linetype="dashed") +
- geom_segment(aes(x = 0, xend = max(p$data$x), y = 0, yend = 0), linetype = "dashed") +
- my_theme +
- labs(x = "Factor 1", y = "Factor 3")
- ggsave(filename = paste0("mofa-results/mutations-projected-", k, ".pdf"), p, width = 6, height = 4)
- p_list <- append(p_list, p)
- }
- p_list
- })
- # DNA Methylation Omic
- methy_sel_f1 <- names(head(sort(abs(loadings$Methylation[, 1]), decreasing = TRUE), 30))
- methy_sel_f3 <- names(head(sort(abs(loadings$Methylation[, 3]), decreasing = TRUE), 30))
- # mRNA Omic
- mrna_sel_f1 <- names(head(sort(abs(loadings$mRNA[, 1]), decreasing = TRUE), 30))
- mrna_sel_f2 <- names(head(sort(abs(loadings$mRNA[, 2]), decreasing = TRUE), 30))
- mrna_sel_f3 <- names(head(sort(abs(loadings$mRNA[, 3]), decreasing = TRUE), 30))
- # miRNA Omic
- mirna_sel_f1 <- names(head(sort(abs(loadings$miRNA[, 1]), decreasing = TRUE), 3))
- ## Enrichment Analysis
- source("enrichment.R")
- # mRNA
- mrna_enrich_f1 <- run_rna_gsea(loadings$mRNA[, 1], sign = 0, alpha = 0.05)
- plot_gsea(mrna_enrich_f1, alpha = 0.05, max.pathways = 25, sign = -2, filename = NULL)
- mrna_enrich_f2 <- run_rna_gsea(loadings$mRNA[, 2], sign = 0, alpha = 0.05)
- plot_gsea(mrna_enrich_f2, alpha = 0.05, max.pathways = 25, sign = 2, filename = NULL)
- mrna_enrich_f3 <- run_rna_gsea(loadings$mRNA[, 3], sign = 0, alpha = 0.05)
- plot_gsea(mrna_enrich_f3, alpha = 0.05, max.pathways = 25, sign = 2, filename = NULL)
- plot_categories_reactome(list("Factor 1"= mrna_enrich_f1[mrna_enrich_f1$NES<0,"ID"],
- "Factor 2"= mrna_enrich_f2[mrna_enrich_f2$NES>0, "ID"],
- "Factor 3"= mrna_enrich_f3[mrna_enrich_f3$NES>0, "ID"]),
- filename="mrna-gsea-top-levels")
- #the pathways in "Disease"
- diseases_f1 <- pathways_of_disease(mrna_enrich_f1)
- print(table(diseases_f1))
- diseases_f2 <- pathways_of_disease(mrna_enrich_f2)
- print(table(diseases_f2))
- diseases_f3 <- pathways_of_disease(mrna_enrich_f3)
- print(table(diseases_f3))
- # DNA methylation
- methy_enrich_f1 <- run_methy_gsea(loadings$Methylation[,1], sign = "positive",
- background_vector = rownames(loadings$Methylation),
- q = 0.01, promoter = F, alpha = 0.05, filename = NULL)
- plot_methy_gsea(methy_enrich_f1, sign = 2, max.pathways = 15,
- filename = "methy-enrich-f1",
- alpha = 0.05)
- methy_enrich_f1_promoter <- run_methy_gsea(loadings$Methylation[,1], sign = "positive",
- background_vector = rownames(loadings$Methylation), q = 0.01,
- promoter = TRUE, alpha = 0.05, filename = NULL)
- plot_methy_gsea(methy_enrich_f1_promoter, sign = 2, max.pathways = 15,
- filename = "methy-enrich-f1-prom",
- alpha = 0.05)
- methy_enrich_f3 <- run_methy_gsea(loadings$Methylation[,3], sign = "negative",
- background_vector = rownames(loadings$Methylation),
- q = 0.01, promoter = F, alpha = 0.05, filename = NULL)
- plot_methy_gsea(methy_enrich_f3, sign = -2, max.pathways = 15,
- filename = "methy-enrich-f3",
- alpha = 0.05)
- methy_enrich_f3_promoter <- run_methy_gsea(loadings$Methylation[,3], sign = "negative",
- background_vector = rownames(loadings$Methylation),
- q = 0.01,
- promoter = TRUE, alpha = 0.05, filename = NULL)
- plot_methy_gsea(methy_enrich_f3_promoter, sign = -2, max.pathways = 15,
- filename = "methy-enrich-f3-prom",
- alpha = 0.05)
- ## Validation Features
- # Survival
- gbm_mrna <- read.csv("survival-results/gbm_mrna.csv", row.names = 1)
- lgg_mrna <- read.csv("survival-results/lgg_mrna.csv", row.names = 1)
- gbm_methy <- read.csv("survival-results/gbm_methy.csv", row.names = 1)
- lgg_methy <- read.csv("survival-results/lgg_methy.csv", row.names = 1)
- # DGE
- gbm_vs_astro_mrna <- read.csv("dge-results/gbm_vs_astro_mrna.csv", row.names = 1)
- gbm_vs_oligo_mrna <- read.csv("dge-results/gbm_vs_oligo_mrna.csv", row.names = 1)
- astro_vs_oligo_mrna <- read.csv("dge-results/astro_vs_oligo_mrna.csv", row.names = 1)
- gbm_vs_astro_methy <- read.csv("dge-results/gbm_vs_astro_methy.csv", row.names = 1)
- gbm_vs_oligo_methy <- read.csv("dge-results/oligo_vs_gbm_methy.csv", row.names = 1)
- astro_vs_oligo_methy <- read.csv("dge-results/astro_vs_oligo_methy.csv", row.names = 1)
- # build data frame as summary for each factor:
- #DGE (GBM vs ASTRO; GBM vs OLIGO; ASTRO vs OLIGO);
- #Significant in survival: in GBM group || in LGG group
- build_df <- function(methy_sel, mrna_sel) {
- combined_features <- c(methy_sel, mrna_sel)
- df <- data.frame(matrix(NA, nrow = length(combined_features), ncol = 5))
- colnames(df) <- c("GBMvsASTRO", "GBMvsOLIGO", "ASTROvsOLIGO", "GBM", "LGG")
- rownames(df) <- combined_features
- df$"GBMvsASTRO" <- c(gbm_vs_astro_methy[methy_sel, "diffexpressed"],
- gbm_vs_astro_mrna[mrna_sel, "diffexpressed"])
- df$"GBMvsOLIGO" <- c(gbm_vs_oligo_methy[methy_sel, "diffexpressed"],
- gbm_vs_oligo_mrna[mrna_sel, "diffexpressed"])
- df$"ASTROvsOLIGO" <- c(astro_vs_oligo_methy[methy_sel, "diffexpressed"],
- astro_vs_oligo_mrna[mrna_sel, "diffexpressed"])
- df$"LGG" <- round(c(lgg_methy[methy_sel, "P_Value"],
- lgg_mrna[mrna_sel, "P_Value"]),3)
- df$"GBM" <- round(c(gbm_methy[methy_sel, "P_Value"],
- gbm_mrna[mrna_sel, "P_Value"]),3)
- return(df)
- }
- df_f1 <- build_df(methy_sel_f1, mrna_sel_f1)
- df_f2 <- build_df(character(0), mrna_sel_f2)
- df_f3 <- build_df(methy_sel_f3, mrna_sel_f3)
- write.csv(df_f1,"summary-f1.csv", row.names = TRUE)
- write.csv(df_f2,"summary-f2.csv", row.names = TRUE)
- write.csv(df_f3,"summary-f3.csv", row.names = TRUE)
- ## Correlation of CpG and mRNA
- plot_cor_cpgs_mrna <- local({
- conc_matrix <- cbind(omics.list$Methylation, omics.list$mRNA)
- conc_matrix <- conc_matrix[,c(methy_sel_f1, mrna_sel_f1, methy_sel_f3, mrna_sel_f3)]
- correlation_matrix <- cor(conc_matrix, method = "pearson", use = "na.or.complete")
- rownames(correlation_matrix) <- c(methy_sel_f1,
- info.mrna[rownames(info.mrna) %in% mrna_sel_f1, "gene_name"],
- methy_sel_f3,
- info.mrna[rownames(info.mrna) %in%mrna_sel_f3, "gene_name"])
- col_fun <- colorRamp2(c(-1, 0, 1), c("#268989", "white", "#E43F3F"))
- ht <- Heatmap(
- correlation_matrix,
- name = "Pearson Correlation",
- col = col_fun,
- cluster_rows = FALSE,
- cluster_columns = FALSE,
- show_row_names = TRUE,
- show_column_names = FALSE,
- row_names_gp = gpar(fontsize = 20),
- heatmap_legend_param = list(
- title = NULL,
- title_gp = gpar(fontsize = 0),
- labels_gp = gpar(fontsize = 20),
- legend_height = unit(75, "cm")
- )
- )
- pdf("mofa-results/heatmap-cpgs-mrna.pdf", width = 30, height = 30)
- draw(ht)
- dev.off()
- })
- ## Cpg-Gene regulation
- #in particular, gene ISM1 with the 8 probes selected
- cpgs_f3_ism1 <- intersect(methy_sel_f3, rownames(info.methy)[info.methy$gene=="ISM1"])
- id_ism1 <- rownames(info.mrna)[info.mrna$gene_name=="ISM1"]
- expr_ism1 <- mrna[, id_ism1, drop = FALSE]
- lgg_patients <- rownames(clinical)[clinical$Type == "LGG" & !is.na(clinical$Type)]
- gbm_patients <- rownames(clinical)[clinical$Type == "GBM" & !is.na(clinical$Type)]
- # correlations of each cpg with the gene ISM1
- cors <- local({
- cors <- c()
- for (cpg in cpgs_f3_ism1){
- val <- cor(expr_ism1[lgg_patients, ], dna[lgg_patients, cpg], method = "pearson", use = "complete.obs")
- cors <- append(cors, val)
- }
- cors
- })
- cors
- # correlations of each cpg with the genes selected by factor 3 (choose idx)
- cors_matrix <- local({
- cors_matrix <- matrix(data = NA,
- nrow = length(cpgs_f3_ism1),
- ncol = length(mrna_sel_f3),
- dimnames = list(cpgs_f3_ism1, mrna_sel_f3))
- for (idx_cpg in 1: length(cpgs_f3_ism1)){
- for (idx_gene in 1: length(mrna_sel_f3)){
- gene_name <- info.mrna[rownames(info.mrna) == mrna_sel_f3[idx_gene], "gene_name"]
- val <- cor(mrna[lgg_patients, mrna_sel_f3[idx_gene]], dna[lgg_patients, cpgs_f3_ism1[idx_cpg]],
- method = "pearson", use = "complete.obs")
- cors_matrix[idx_cpg, idx_gene] <- val
- }
- }
- colnames(cors_matrix) <- info.mrna[rownames(info.mrna) %in% mrna_sel_f3, "gene_name"]
- rownames(cors_matrix) <- cpgs_f3_ism1
- cors_matrix
- })
- # Plot
- cor_plot_gene_cpg <- function(cpg, gene_id, labels, groups_2_test){
- idxs <- which(labels %in% groups_2_test)
- expr_gene <- mrna[idxs , gene_id, drop = FALSE]
- gene_name <- info.mrna[rownames(info.mrna) == gene_id, "gene_name"]
- expr_cpg <- dna[idxs, cpg, drop = FALSE]
- df_plot <- data.frame(
- expr_gene = expr_gene[,1],
- expr_cpg = expr_cpg[,1],
- groups = labels[idxs]
- )
- plot <- ggplot(df_plot, aes(x = expr_cpg, y = expr_gene, color = groups)) +
- geom_smooth(method = "lm", se = T) +
- geom_point() +
- scale_color_manual(values = c('#FF7400', '#009999', "black")) +
- stat_cor(method = "pearson",
- cor.coef.name = "R",
- label.x = 1.08) +
- labs(
- x = cpg,,
- y = gene_name,
- color = "Subtype"
- ) +
- my_theme
- ggsave(filename = paste0("mofa-results/corr-",cpg, "-", gene_name,".pdf"), plot, width = 8, height = 6)
- return (plot)
- }
- p <- cor_plot_gene_cpg(cpgs_f3_ism1[1], id_ism1,
- labels = clinical$Subtype, groups_2_test = c("ASTRO", "OLIGO", "GBM"))
- p <- cor_plot_gene_cpg(cpgs_f3_ism1[2], id_ism1,
- labels = clinical$Subtype, groups_2_test = c("ASTRO", "OLIGO", "GBM"))
- # heatmap of cors_matrix
- col_fun <- colorRamp2(c(-1, 0, 1), c("#268989", "white", "#E43F3F"))
- cors_matrix <- cbind(cors_matrix, "ISM1" = cors)
- ht <- Heatmap(
- cors_matrix,
- name = "Pearson Correlation",
- col = col_fun,
- cluster_rows = FALSE,
- cluster_columns = FALSE,
- show_row_names = TRUE,
- show_column_names = T,
- row_names_gp = gpar(fontsize = 20),
- heatmap_legend_param = list(
- title = NULL,
- title_gp = gpar(fontsize = 0),
- labels_gp = gpar(fontsize = 20),
- legend_height = unit(35, "cm")
- )
- )
- pdf("mofa-results/heatmap-mrnaf3-cpgsiNism1.pdf", width = 20, height = 15)
- draw(ht)
- dev.off()
- # SLC2A5 BLNK TMEM119 PLXDC2
- id_plxdc2 <- rownames(info.mrna)[info.mrna$gene_name=="PLXDC2"]
- id_slc2a5 <- rownames(info.mrna)[info.mrna$gene_name=="SLC2A5"]
- id_blnk <- rownames(info.mrna)[info.mrna$gene_name=="BLNK"]
- id_tmem119 <- rownames(info.mrna)[info.mrna$gene_name=="TMEM119"]
- p <- cor_plot_gene_cpg(cpgs_f3_ism1[1], id_plxdc2,
- labels = clinical$Subtype, groups_2_test = c("ASTRO", "OLIGO", "GBM"))
- p <- cor_plot_gene_cpg(cpgs_f3_ism1[2], id_plxdc2,
- labels = clinical$Subtype, groups_2_test = c("ASTRO", "OLIGO", "GBM"))
mofa-results.R at commit 4c8df63, no license · at the source
Overview
- Instituto Superior Técnico, Universidade de Lisboa, 1049-001 Lisbon, Portugal
- Instituto de Telecomunicações, Instituto Superior Técnico, Universidade de Lisboa, 1049-001 Lisbon, Portugal
- Instituto de Engenharia de Sistemas e Computadores-Investigação e Desenvolvimento (INESC-ID), Instituto Superior Técnico, Universidade de Lisboa, 1000-029 Lisbon, Portugal
- IDMEC, Instituto Superior Técnico, Universidade de Lisboa, 1049-001 Lisbon, Portugal
Abstract
Background: Gliomas are the most common malignant brain tumors in adults, characterized by a poor prognosis. Although the current World Health Organization (WHO) classification provides clear guidelines for classifying oligodendroglioma, astrocytoma, and glioblastoma patients, significant heterogeneity persists within each class, limiting the effectiveness of current treatment strategies. With the increasing availability of large-scale multi-omics datasets resulting from advancements in sequencing technologies and online repositories that provide them, such as The Cancer Genome Atlas (TCGA), it is now possible to investigate these tumors at multiple molecular levels. Methods: In this work, we apply integrative multi-omics analysis to explore the interplay between genomic (mutations), epigenomic (DNA methylation), and transcriptomic (mRNA and miRNA) layers. Our approach relies on Multi-Omics Factor Analysis (MOFA), a Bayesian latent factor analysis model designed to capture sources of variation across different omics types. Results: Our results highlight distinct molecular profiles across the three glioma types and identify potential relationships between methylation and genetic expression. In particular, we uncover novel candidate biomarkers associated with survival as well as a transcriptional profile associated with neural system development. Conclusions: These findings may contribute to more personalized therapeutic strategies, potentially improving treatment effectiveness and survival outcomes in this disease.
Reproduced under the paper's license (CC BY), from the paper cited above.
Repository
Its files are read in the Code ↔ Paper reader above, with 4 matches between paragraphs and lines of code.
sysbiomed/MOFA-in-Gliomas
4c8df639fd56d05a48dbcd83f949436403910ba1, 14 April 2026Availability: 1 check, the latest on 27 September 2026: the link answers
- 27 September 2026: the link answers
15 files
- 2_analysis.Rmd, R, 1,017 lines
- GSEA-TopLevelReactomeWGe
nesCounts.R , R, 131 lines - clinical.Rmd, R, 209 lines
- dge.R, R, 153 lines
- enrichment.R, R, 311 lines, 1 match
- epigenomics.Rmd, R, 347 lines
- mofa-more.R, R, 437 lines
- mofa-results-nomiRNA.R, R, 191 lines
- mofa-results.R, R, 508 lines, 2 matches
- mutations.Rmd, R, 103 lines
- run_mofa.R, R, 96 lines, 1 match
- setup.R, R, 37 lines
- survival.R, R, 97 lines
- transcriptomics.Rmd, R, 368 lines
- README.md, Text, 22 lines
The paper's code and data availability statement is in the Data section.
Tracing map
Proposed by the machine: these links were found in the paper and verified at the source, without human review. The map will receive a Zenodo DOI once one of the paper's authors has validated it with their ORCID.
What the map holds:
- 1 repository of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
- 14 scripts, each with its path and the digest of its content;
- 4 matches between paragraphs of the paper and lines of the code (method lexical-v1);
- neither the text of the paper nor the code itself.
Its JSON (tracing-map.json) is deposited on Zenodo with its DOI once the map is validated.
Data
No dataset and no data link were found in the paper.
2.1. Data Availability
The integration in the present study focused on several omics layers, specifically genomics (mutations), as they are key drivers of glioma heterogeneity, along with transcriptomics (mRNA and miRNA) and epigenomics (DNA methylation). The data were obtained from The Cancer Genome Atlas (TCGA) under the project names “TCGA-GBM” and “TCGA-LGG”.
The mutations dataset was downloaded using the RTCGAToolbox (version v2.32.1) [20] package, while the others were obtained using the TCGAbiolinks (version v2.30.4) [21] package. The downloaded data included binary mutation profiles, count-based transcriptomics, and beta values representing the methylation proportion of each probe. These last two datasets were provided in the summarizedExperiment format, which contains not only the expression matrix but also feature metadata, including gene annotations and additional biological information, such as associated chromosomal locations and corresponding gene names. Clinical data, including patient demographics (age, sex) and survival information, were also extracted. Its summary is in Table 1.
The ground-truth glioma labels used were from the study [22], where the TCGA labels were updated according to the most recent WHO guidelines from 2021. The labels assigned were: “Astrocytoma”, “Glioblastoma”, “Oligodendroglioma” or “Unclassified”. Table 2 highlights significant discrepancies between the labels assigned by the WHO and those provided by TCGA for the same patients.
All the code is available at https://
Reproduced under the paper's license (CC BY), from the paper cited above.
Data Availability Statement
The R code developed for this analysis is open source and available at https://
Reproduced under the paper's license (CC BY), from the paper cited above.
Versions
The history of this record: each version stored by the harvester or made by a correction of its authors or of the maintainers of its code, and what changed in its facts. The texts of the paper (its abstract, its availability statements) are not part of it; versions that changed only those are not listed.
Version 1, 27 September 2026: the first record
Recorded: type, language, journal, volume, issue, pages, dates, 3 authors, 5 keywords, 13 MeSH terms, 2 funders, 34 references.
Cite
This paper
Carvalho, C. G., Carvalho, A. M., & Vinga, S. (2026). Uncovering Latent Structure in Gliomas Using Multi-Omics Factor Analysis. Genes, 17(5), 540. https://
BibTeX
@article{carvalho2026unc
author = {Carvalho, Catarina Gameiro and Carvalho, Alexandra M. and Vinga, Susana},
title = {{Uncovering Latent Structure in Gliomas Using Multi-Omics Factor Analysis}},
journal = {Genes},
year = {2026},
month = may,
volume = {17},
number = {5},
pages = {540},
publisher = {Multidisciplinary Digital Publishing Institute (MDPI)},
issn = {2073-4425},
doi = {10.3390/
url = {https://
pmid = {42194997},
pmcid = {PMC13205169}
}
RIS
TY - JOUR
AU - Carvalho, Catarina Gameiro
AU - Carvalho, Alexandra M.
AU - Vinga, Susana
TI - Uncovering Latent Structure in Gliomas Using Multi-Omics Factor Analysis
T2 - Genes
J2 - Genes (Basel)
PY - 2026
DA - 2026/
VL - 17
IS - 5
SP - 540
SN - 2073-4425
PB - Multidisciplinary Digital Publishing Institute (MDPI)
DO - 10.3390/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.3390/
"type": "article-journal",
"title": "Uncovering Latent Structure in Gliomas Using Multi-Omics Factor Analysis",
"container-title": "Genes",
"author": [
{
"family": "Carvalho",
"given": "Catarina Gameiro"
},
{
"family": "Carvalho",
"given": "Alexandra M."
},
{
"family": "Vinga",
"given": "Susana"
}
],
"container-title-short":
"volume": "17",
"issue": "5",
"page": "540",
"DOI": "10.3390/
"PMID": "42194997",
"PMCID": "PMC13205169",
"ISSN": "2073-4425",
"publisher": "Multidisciplinary Digital Publishing Institute (MDPI)",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
5,
1
]
]
}
}
The tracing map gets a citation of its own once an author has validated it and it has a DOI.
Similar papers
The papers with a page that share the most with this one: the tools found in their code, their categories, datasets, cited references and authors, the rarest counting most.
- [1] doi:10.1093/bioinformatics/btag592 [code]
- Network-based stratification of allele-specific expression reveals patient subgroups in Huntington's disease.Journal: Bioinformatics (Oxford, England)In common: survival, edgeR, reticulate, 8 other tools, genetics / omics, other condition
- [2] doi:10.1038/s42003-026-10957-8 [code]
- Brain defence by the extracellular matrix protein Cochlin.Journal: Communications biologyIn common: survival, edgeR, reticulate, 8 other tools
- [3] doi:10.1186/s12967-026-08266-z [code]
- Single-cell multi-omic integration analysis prioritizes druggable genes and reveals cell-type-specific causal effects in glioblastomagenesis.Journal: Journal of translational medicineIn common: edgeR, reticulate, circlize, 6 other tools, genetics / omics, other condition, 2 references
- [4] doi:10.1016/j.isci.2026.115657 [code]
- Integration of machine learning to develop a disulfidptosis model for predicting glioma prognosis, immunotherapy response, and drug.Journal: iScienceIn common: survival, edgeR, DESeq2, 7 other tools, other condition
- [5] doi:10.1038/s41593-026-02367-0 [code]
- A reproducible three-dimensional model of human brain tissue to investigate physiological and disease-associated microglia phenotypes.Journal: Nature neuroscienceIn common: edgeR, reticulate, DESeq2, 7 other tools
- [6] doi:10.1016/j.xcrm.2026.102766 [code]
- A longitudinal single-cell and spatial multiomic atlas of pediatric high-grade glioma.Journal: Cell reports. MedicineIn common: edgeR, DESeq2, circlize, 6 other tools, genetics / omics, other condition, 1 reference
- [7] doi:10.3390/ijms27093997 [code]
- Coordinated Multicellular Immune Programs and Drug Targets Revealed by Single-Cell Analysis in Driver-Mutated NSCLC.Journal: International journal of molecular sciencesIn common: survival, DESeq2, circlize, 6 other tools, genetics / omics, other condition
- [8] doi:10.1038/s41586-026-10512-9 [code]
- Astrocyte glucocorticoid receptor signalling restricts neuronal plasticity.Journal: NatureIn common: edgeR, DESeq2, circlize, 6 other tools, 1 reference
- [9] doi:10.1038/s42003-026-10252-6 [code]
- RET signaling as a mediator of estrogen receptor positive breast cancer brain metastasis.Journal: Communications biologyIn common: survival, DESeq2, circlize, 6 other tools, other condition
- [10] doi:10.1101/gr.281113.125 [code]
- Single-nucleus multiomic profiling of the aging mouse substantia nigra reveals conserved gene alterations linked to Parkinson's disease.Journal: Genome researchIn common: edgeR, reticulate, circlize, 6 other tools, genetics / omics
Contribute
The authors of this paper can claim it, correct its record and validate its tracing map, and the maintainers of its code (its owner, or a public member of its organization) correct what it says of their repository; anyone signed in can ask for its removal. Every request goes to OSCR's own machine, which answers it; your account page follows them.
Sign in with ORCID to claim this paper as one of its authors, correct its record or validate its tracing map: when the paper's metadata lists your ORCID iD, you are recognized at once. Maintainers of its code: sign in with GitHub, then claim the repository on your account page.
Claim this paper
Correct its record
Say what each link of this record is, remove the ones that are not the paper's, add the ones that are missing. The correction becomes a new version of the record, in its Versions section.
Validate its tracing map
You validate the map as this page shows it: 1 repository of the authors' code, each at its verified commit and with its license, 14 scripts, and 4 matches between paragraphs and code (see the Code and Map sections). It then receives a DOI on Zenodo, with you (your ORCID iD) and OSCR as its creators; the code itself is not deposited.
The map's fingerprint: sha256:d4145efc013520b3…
Add the badge to its README
The badge links the code to this page. Copy one of these into the README of the paper's code: only you decide where it goes, and nothing is changed for you.
Markdown
[, paste the snippet at the top, then “Commit changes…” and, to review it first, “Create a new branch and start a pull request”. You open the pull request; OSCR asks for no permission.
Request its removal
To ask OSCR to remove this record, the copies of its authors' scripts or its tracing map, use the removal request page: signed in, you say who you are, what to remove and why, then review and confirm the request. Published rules decide every request (how).
Discussion, reproductions, activity
Discussion: questions and error reports about this paper and its code, from signed-in readers and its authors. It opens with sign-in.
Reproductions: reports from readers who ran the authors' code: what they reproduced, with which environment, commit and data. It opens with sign-in.
Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.
