Skip to content

Commit

Permalink
Merge pull request #271 from jenfransson/OMICSINT_H24
Browse files Browse the repository at this point in the history
Update NMF and SNF lectures
  • Loading branch information
rasools authored Oct 17, 2024
2 parents eabb267 + 06a983b commit 5088f72
Show file tree
Hide file tree
Showing 25 changed files with 554 additions and 237 deletions.
262 changes: 161 additions & 101 deletions session_nmf/NMF_main.html

Large diffs are not rendered by default.

263 changes: 165 additions & 98 deletions session_nmf/NMF_main.ipynb

Large diffs are not rendered by default.

143 changes: 125 additions & 18 deletions session_nmf/SNF_main.html

Large diffs are not rendered by default.

123 changes: 103 additions & 20 deletions session_nmf/SNF_main.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,38 @@
}
},
"source": [
"# Similarity Network Fusion - SNF\n",
"# Network diffusion based methods in integrating 'omics data\n",
"\n",
"Sergiu Netotea, PhD, NBIS, Chalmers\n",
"\n",
"- Similarity networks\n",
"- SNF method\n",
"\n",
"- Network fusion\n",
"- Similarity network fusion, explained in detail\n",
"- Applications"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Classification of graph based integration methods\n",
"\n",
"\n",
"__Network-Based Approaches:__\n",
" - Graph Construction, Multi-Modal Networks: Integrating multiple omics datasets into one comprehensive graph that allows for the analysis of cross-layer interactions.\n",
" - Node/Edge Weighting: Some methods apply weighting strategies to nodes and edges to emphasize biological relevance, which can assist in identifying key components within the network.\n",
"\n",
"__Algorithmic Methods:__\n",
"- Network Diffusion/Propagation: Methods that allow information (e.g., signals or perturbations) to propagate through the network to detect influential nodes or subnetworks. Examples: Similarity network fusion, Graph autoencoders\n",
"- Causal Inference: Algorithms that attempt to infer causality between nodes based on their interactions and the multi-omics data layers. Example: Graphical models based on statistical learning, Recurrent Graph Learning\n",
"\n",
"__Machine Learning Approaches:__\n",
"- Integration with Network-Based Approaches: Machine learning models are sometimes used in tandem with network approaches to enhance predictive power and biological insight. These methods are characterized by the existence of a fittness function. Examples: Graph embedding, Graph Neural Networks\n",
"\n",
"Read mode:\n",
"> Agamah FE, Bayjanov JR, Niehues A, Njoku KF, Skelton M, Mazandu GK, Ederveen THA, Mulder N, Chimusa ER, 't Hoen PAC. Computational approaches for network-based integrative multi-omics analysis. Front Mol Biosci. 2022 Nov 14;9:967205. doi: 10.3389/fmolb.2022.967205. PMID: 36452456; PMCID: PMC9703081."
]
},
{
"cell_type": "markdown",
"metadata": {
Expand All @@ -25,7 +48,7 @@
}
},
"source": [
"## Similarity networks\n",
"## Network based models in biology\n",
"\n",
"Network models are a very complex representation of data:\n",
"- Power law sophistication: for every n vertices there are up to n(n-1) possible edges\n",
Expand Down Expand Up @@ -78,7 +101,7 @@
}
},
"source": [
"![NF basics](./assests/nf_basics.png \"NF basics\")"
"![NF basics](img/nf_basics.png \"NF basics\")"
]
},
{
Expand Down Expand Up @@ -192,7 +215,7 @@
}
},
"source": [
"![similarity](./assests/similarity.png)"
"![similarity](img/similarity.png)"
]
},
{
Expand Down Expand Up @@ -348,23 +371,83 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"### (latest trents) MoGCN, graph neural networks\n",
"### Paper study: \n",
"\n",
"- Graph neural networks are a new hot topic in integrative omics.\n",
"- MoGCN, a multi-omics integration model based on graph convolutional network (GCN)\n",
"> MoGCN, a multi-omics integration model based on graph convolutional network (GCN)\n",
" - https://github.com/Lifoof/MoGCN\n",
" - Li X, Ma J, Leng L, Han M, Li M, He F, Zhu Y. MoGCN: A Multi-Omics Integration Method Based on Graph Convolutional Network for Cancer Subtype Analysis. Front Genet. 2022 Feb 2;13:806842. doi: 10.3389/fgene.2022.806842. PMID: 35186034; PMCID: PMC8847688.\n",
" - cancer subtype classification and analysis. Genomics, transcriptomics and proteomics datasets for 511 breast invasive carcinoma (BRCA) samples were downloaded from the Cancer Genome Atlas (TCGA). \n",
" - The autoencoder (AE) and the similarity network fusion (SNF) methods were used to reduce dimensionality and construct the patient similarity network (PSN), respectively\n",
" - Then the vector features and the PSN were input into the GCN for training and testing. Feature extraction and network visualization were used for further biological knowledge discovery and subtype classification. \n",
" \n"
" - Li X, Ma J, Leng L, Han M, Li M, He F, Zhu Y. MoGCN: A Multi-Omics Integration Method Based on Graph Convolutional Network for Cancer Subtype Analysis. Front Genet. 2022 Feb 2;13:806842. doi: 10.3389/fgene.2022.806842. PMID: 35186034; PMCID: PMC8847688\n",
"\n",
"- Cancer subtype classification and analysis. Genomics, transcriptomics and proteomics datasets for 511 breast invasive carcinoma (BRCA) samples were downloaded from the Cancer Genome Atlas (TCGA). \n",
"- The autoencoder (AE) and the similarity network fusion (SNF) methods were used to reduce dimensionality and construct the patient similarity network (PSN), respectively\n",
"- Then the vector features and the PSN were input into the GCN for training and testing. Feature extraction and network visualization were used for further biological knowledge discovery and subtype classification. "
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"<img src=\"img/MoGCN.png\" width=\"900\"/>"
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
"## Paper study:\n",
"\n",
"> Wang, C., Lue, W., Kaalia, R. et al. Network-based integration of multi-omics data for clinical outcome prediction in neuroblastoma. Sci Rep 12, 15425 (2022). https://doi.org/10.1038/s41598-022-19019-5\n",
"\n",
"- Aim: integrate multi-omics data (like gene expression and DNA methylation) for predicting clinical outcomes in neuroblastoma, a pediatric cancer.\n",
"- Using Patient Similarity Networks (PSNs) derived from omics features, they create networks where patients are nodes and edges represent their similarity based on omics data. They apply two methods for data fusion: at feature level and at network level\n",
"- Their results show that network-level fusion generally outperforms feature-level fusion for integrating diverse omics datasets, while feature-level fusion is effective when combining different features within the same omics dataset.\n",
"\n",
"- Feature-level fusion: Combines features derived from each omics dataset into a single feature set by concatenating or averaging features like centrality and modularity from PSNs. For each omics dataset m, a Patient Similarity Network (PSN) is constructed. Let x_m represent the feature vector of the m-th omics dataset for a subject. The feature-level fusion is performed as follows:\n",
" - Extract centrality and modularity features from each PSN.\n",
" - Compute the mean of centrality features and concatenate the modularity features from each omics dataset:\n",
"$$\n",
"x_{\\text{fused}} = \\frac{1}{M} \\sum_{m=1}^{M} x_m\n",
"$$\n",
", where M is the total number of omics datasets.\n",
"\n",
"The fused feature vector $x_{\\text{fused}}$ is used as input to machine learning classifiers for clinical outcome prediction.\n",
"\n",
"\n",
"- Network-level fusion: PSNs from individual omics datasets are combined to form a single multi-omics PSN. The fusion is performed using the Similarity Network Fusion (SNF) algorithm, which combines the similarity matrices \\(A_m\\) of individual PSNs:\n",
"$$\n",
"A_{\\text{fused}} = \\text{SNF}(A_1, A_2, \\ldots, A_M)\n",
"$$\n",
"The fused similarity matrix $ A_{\\text{fused}} $ represents the multi-omics PSN, which is then used for downstream prediction tasks."
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"<img src=\"img/snf_psn_fusing.png\" width=\"900\"/>"
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
"### Paper study:\n",
"> Wang, J., Liao, N., Du, X. et al. A semi-supervised approach for the integration of multi-omics data based on transformer multi-head self-attention mechanism and graph convolutional networks. BMC Genomics 25, 86 (2024). https://doi.org/10.1186/s12864-024-09985-7\n",
"Searched 2 sites\n",
"\n",
"- Uses a semi-supervised learning framework for disease classification, combining transformer multi-head self-attention mechanisms with graph convolutional networks (GCNs) to extract meaningful relationships between samples. The model integrates labeled and unlabeled omics data, using the attention mechanism to capture dependencies across features and GCNs to capture graph-based relationships.\n",
"- Omics used: mRNA expression, microRNA expression, and DNA methylation. These data types are integrated to improve the prediction accuracy of disease classifications, such as Alzheimer's disease and breast cancer. \n",
"- Self-Attention Mechanism: Captures intra- and inter-modality feature dependencies.\n",
"- Graph Convolutional Networks (GCNs): Extract structural information from the multi-omics graph, enabling better representation of relationships between data points.\n",
"- Semi-Supervised Learning: Utilizes both labeled and unlabeled data to improve model training, mitigating the limitations of small labeled datasets often found in multi-omics studies."
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"<img src=\"./assests/MoGCN.png\" width=\"900\"/>"
"<img src=\"img/snf_mosegcn.png\" width=\"900\"/>"
]
},
{
Expand Down Expand Up @@ -483,7 +566,7 @@
}
},
"source": [
"<img src=\"./assests/wsnf_data.png\" width=\"600\"/>"
"<img src=\"img/wsnf_data.png\" width=\"600\"/>"
]
},
{
Expand Down Expand Up @@ -511,7 +594,7 @@
}
},
"source": [
"<img src=\"./assests/wsnf.png\" width=\"600\"/>"
"<img src=\"img/wsnf.png\" width=\"600\"/>"
]
},
{
Expand Down Expand Up @@ -539,7 +622,7 @@
}
},
"source": [
"<img src=\"./assests/anf_alg.jpg\" width=\"600\"/>"
"<img src=\"img/anf_alg.jpg\" width=\"600\"/>"
]
},
{
Expand Down Expand Up @@ -597,7 +680,7 @@
}
},
"source": [
"<img src=\"./assests/anf_nn.jpg\" width=\"300\"/>"
"<img src=\"img/anf_nn.jpg\" width=\"300\"/>"
]
},
{
Expand Down Expand Up @@ -674,7 +757,7 @@
}
},
"source": [
"<img src=\"./assests/skf.png\" width=\"400\"/>"
"<img src=\"img/skf.png\" width=\"400\"/>"
]
},
{
Expand Down
Binary file added session_nmf/img/MoGCN.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added session_nmf/img/NMF.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added session_nmf/img/anf_alg.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added session_nmf/img/anf_nn.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added session_nmf/img/budget.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added session_nmf/img/deep_mf.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added session_nmf/img/item.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added session_nmf/img/jnmf_pharma.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added session_nmf/img/nf_basics.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added session_nmf/img/nmf_mowgli.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added session_nmf/img/nmf_multilayered.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added session_nmf/img/nmf_onelayer.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added session_nmf/img/nmf_uinmf.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added session_nmf/img/segmentation.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added session_nmf/img/similarity.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added session_nmf/img/skf.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added session_nmf/img/snf_mosegcn.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added session_nmf/img/snf_psn_fusing.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added session_nmf/img/user.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added session_nmf/img/wsnf.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added session_nmf/img/wsnf_data.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 5088f72

Please sign in to comment.