VatsalPatel18/HNSCC-MultiOmics-10-Cancer-Hallmark-Gene-Network
收藏资源简介:
--- license: cc-by-nc-sa-4.0 --- # HNSCC MultiOmics Cancer Gene Hallmark Network Patient Dataset This dataset consists of network and adjacency matrix files related to head and neck squamous cell carcinoma (HNSCC) patient data. It is intended for research purposes in the field of cancer genomics and network analysis. ## License This dataset is available under the cc-by-nc-sa-4.0 License. ## Dataset Files There are three main files in this dataset: 1. **hnscc.patient.chg.network.pth**: This is a PyTorch dictionary where keys are patient IDs and values are data in PyTorch Geometric format. Each entry represents the network data associated with a specific patient. 2. **hnsc.edges.npy**: This file contains the adjacency matrix in NumPy format for cancer hallmark genesets. It represents the connectivity between different genes associated with cancer. 3. **additional_data_file.extension**: (Replace with actual file name and extension) Describe what this file contains and how it can be used. ## Data Format - The `.pth` file format is specific to PyTorch and should be used with PyTorch Geometric for loading the data. - The `.npy` file is a NumPy binary format for storing arrays, suitable for loading with NumPy's `load` function. ## Network Construction In constructing the network for our Graph Attention Autoencoder, we utilized the Cancer Hallmark geneset, which comprises 2,784 genes. This geneset serves as the basis for building the graph’s nodes. The edges between these nodes are defined in a weighted manner, based on the shared pathways between gene pairs. Specifically, the weight assigned to an edge connecting any two genes is determined by the number of pathways in which both genes are concurrently present. For example, if a pair of genes appears together in 5 different pathways, the edge connecting these two genes in our graph is assigned a weight of 5. This approach allows us to capture not only the dependent interactions between genes but also their independent behaviors. Ideal gene-gene graph networks are constructed using the cancer hallmark geneset, resulting in 3,672,566 weighted edges among the 2,784 genes. This network construction was performed for each of the 430 patients in the TCGA-HNSCC cohort. A Graph Attention Autoencoder is trained on a dataset split, with 60% for training and the rest divided between validation and testing. This model achieves a validation cosine similarity of 0.835 and a test set cosine similarity of 0.8, measuring the similarity in the input multiomic features per node to recreated features. Latent features for each gene of every patient are extracted from the Graph Encoder, effectively reducing the gene dimensionality from R17 to R1, while encapsulating the influence of cancer hallmark pathways. ## References - Zhang D, Huo D, Xie H, Wu L, Zhang J, Liu L, Jin Q, Chen X. CHG: A Systematically Integrated Database of Cancer Hallmark Genes. Front Genet. 2020 Feb 5;11:29. doi: 10.3389/fgene.2020.00029. PMID: 32117445; PMCID: PMC7013921. ## Downloading and Using the Data To use this dataset, you will need Python installed along with PyTorch and PyTorch Geometric. You can install these packages using pip: ```bash pip install torch torch-geometric numpy ``` ## Using the Dataset ### Loading the Dataset To load the dataset, you can use the following Python code: ```python import torch import numpy as np # Load the PyTorch dictionary graph_data_dict = torch.load('path/to/hnscc.patient.chg.network.pth') # Load the adjacency matrix adjacency_matrix = np.load('path/to/hnsc.edges.npy') # Example of accessing the data for a specific patient patient_id = 'example_patient_id' # Replace with an actual patient ID patient_data = graph_data_dict[patient_id] ``` ### Data Preprocessing Ensure that the gene expression data is standardized and robustly scaled to fall within the range of 0 to 1. The copy number alteration data should be linearly transformed from a discrete variable ranging from -2 to 2 to a continuous representation. Mutation types should be encoded in a binary format, with 1 indicating the presence of a mutation and 0 its absence. Methylation data should be maintained as continuous variables for six gene regions including the 1st exon, 3’UTR, 5’UTR, gene body, TSS1500, and TSS200. ### Constructing the Network The network is constructed using the Cancer Hallmark geneset, which includes 2,784 genes. The edges between these nodes are defined in a weighted manner, based on the shared pathways between gene pairs. The weight assigned to an edge is determined by the number of pathways in which both genes are concurrently present. ### Training the Model After loading and preprocessing the data, you can train the Graph Attention Autoencoder using the provided configuration and data loaders. The model is trained to achieve a validation cosine similarity of 0.835 and a test set cosine similarity of 0.8, measuring the similarity in the input multiomic features per node to recreated features. ### Analysis and Visualization You can perform various analyses and visualizations using the trained model. For example, you can extract latent features, cluster patients into distinct groups, and perform survival analysis. Detailed instructions and code examples for these tasks are provided in the README file of the associated repository. ### Citation If you use this dataset in your research, please cite the following paper: Zhang D, Huo D, Xie H, Wu L, Zhang J, Liu L, Jin Q, Chen X. CHG: A Systematically Integrated Database of Cancer Hallmark Genes. Front Genet. 2020 Feb 5;11:29. doi: 10.3389/fgene.2020.00029. PMID: 32117445; PMCID: PMC7013921.
--- license: cc-by-nc-sa-4.0 --- # HNSCC多组学癌症特征基因网络患者数据集 本数据集包含与头颈部鳞状细胞癌(head and neck squamous cell carcinoma, HNSCC)患者数据相关的网络文件与邻接矩阵文件,旨在服务于癌症基因组学与网络分析领域的研究工作。 ## 许可证 本数据集遵循cc-by-nc-sa-4.0许可证发布。 ## 数据集文件 本数据集包含三个主要文件: 1. **hnscc.patient.chg.network.pth**:这是一个PyTorch字典,其键为患者ID,值为PyTorch几何(PyTorch Geometric)格式的数据,每条条目对应一名特定患者的网络数据。 2. **hnsc.edges.npy**:该文件以NumPy格式存储癌症特征基因集的邻接矩阵,表征与癌症相关的不同基因间的连接关系。 3. **additional_data_file.extension**:(请替换为实际文件名及扩展名)请描述该文件包含的内容及使用方式。 ## 数据格式 - `.pth`文件格式为PyTorch专属格式,需结合PyTorch Geometric加载数据。 - `.npy`文件为NumPy二进制数组格式,可通过NumPy的`load`函数加载。 ## 网络构建 在为我们的图注意力自编码器(Graph Attention Autoencoder)构建网络时,我们采用了包含2784个基因的癌症特征基因集(Cancer Hallmark geneset),以此作为图节点的构建基础。节点间的边以加权形式定义,权重基于基因对共享的通路数量确定。 具体而言,任意两个基因之间的边权重,由二者共同参与的通路数量决定。例如,若一对基因同时出现在5条不同的通路上,则二者之间的边权重被赋值为5。该方法不仅可以捕捉基因间的依赖互作,还能反映其独立的表达行为。 理想的基因-基因图网络基于癌症特征基因集构建,在2784个基因之间共生成3,672,566条加权边。该网络构建流程针对TCGA-HNSCC队列中的430名患者逐一执行。我们将数据集按60%训练集、剩余部分划分为验证集与测试集的比例进行拆分,并基于此训练图注意力自编码器。该模型的验证余弦相似度(cosine similarity)为0.835,测试集余弦相似度为0.8,该指标用于衡量每个节点的输入多组学特征与重构特征之间的相似性。我们从图编码器中提取每名患者各基因的潜特征(latent features),在将基因维度从R¹⁷压缩至R¹的同时,保留了癌症特征通路的影响信息。 ## 参考文献 - Zhang D, Huo D, Xie H, Wu L, Zhang J, Liu L, Jin Q, Chen X. CHG: A Systematically Integrated Database of Cancer Hallmark Genes. Front Genet. 2020 Feb 5;11:29. doi: 10.3389/fgene.2020.00029. PMID: 32117445; PMCID: PMC7013921. ## 数据下载与使用 如需使用本数据集,需预先安装Python及PyTorch、PyTorch Geometric库,可通过pip执行以下命令完成安装: bash pip install torch torch-geometric numpy ## 数据集使用 ### 数据集加载 可通过以下Python代码加载数据集: python import torch import numpy as np # 加载PyTorch字典 graph_data_dict = torch.load('path/to/hnscc.patient.chg.network.pth') # 加载邻接矩阵 adjacency_matrix = np.load('path/to/hnsc.edges.npy') # 示例:访问特定患者的数据 patient_id = 'example_patient_id' # 请替换为实际患者ID patient_data = graph_data_dict[patient_id] ### 数据预处理 需确保基因表达数据经过标准化与稳健缩放,使其取值范围落在0至1之间。拷贝数变异(copy number alteration)数据应将取值范围为-2至2的离散变量线性转换为连续表征形式。突变类型需采用二进制编码:1代表存在突变,0代表无突变。甲基化数据(methylation data)需保留为连续变量,覆盖6个基因区域:第1外显子、3’UTR、5’UTR、基因本体区、TSS1500以及TSS200。 ### 网络构建 本数据集的网络基于癌症特征基因集构建,该基因集包含2784个基因。节点间的边以加权形式定义,权重基于基因对共享的通路数量确定,边权重即为二者共同参与的通路数目。 ### 模型训练 在加载并完成数据预处理后,可基于提供的配置与数据加载器训练图注意力自编码器。模型训练目标为达到验证余弦相似度0.835、测试集余弦相似度0.8的性能,该指标用于衡量每个节点的输入多组学特征与重构特征之间的相似性。 ### 分析与可视化 可基于训练完成的模型开展各类分析与可视化工作,例如提取潜特征、将患者聚类为不同组别、进行生存分析(survival analysis)。相关任务的详细说明与代码示例可在关联仓库的README文件中查看。 ### 引用说明 若您在研究中使用本数据集,请引用以下论文: Zhang D, Huo D, Xie H, Wu L, Zhang J, Liu L, Jin Q, Chen X. CHG: A Systematically Integrated Database of Cancer Hallmark Genes. Front Genet. 2020 Feb 5;11:29. doi: 10.3389/fgene.2020.00029. PMID: 32117445; PMCID: PMC7013921.
数据集概述
数据集名称
HNSCC MultiOmics Cancer Gene Hallmark Network Patient Dataset
数据集内容
该数据集包含与头颈鳞状细胞癌(HNSCC)患者数据相关的网络和邻接矩阵文件,旨在用于癌症基因组学和网络分析领域的研究。
数据集文件
- hnscc.patient.chg.network.pth: PyTorch字典格式,包含患者ID作为键,值为PyTorch Geometric格式的数据。每个条目代表特定患者的网络数据。
- hnsc.edges.npy: NumPy格式,包含癌症标志基因集的邻接矩阵,表示不同基因之间的连接性。
- additional_data_file.extension: 具体文件名和扩展名未提供,内容描述待补充。
数据格式
.pth文件格式专为PyTorch设计,需使用PyTorch Geometric加载。.npy文件是NumPy的二进制数组存储格式,适合使用NumPy的load函数加载。
网络构建
使用包含2,784个基因的癌症标志基因集构建网络节点,边根据基因对之间共享的通路数量加权。网络包含3,672,566个加权边,针对TCGA-HNSCC队列中的430名患者构建。
引用文献
Zhang D, Huo D, Xie H, Wu L, Zhang J, Liu L, Jin Q, Chen X. CHG: A Systematically Integrated Database of Cancer Hallmark Genes. Front Genet. 2020 Feb 5;11:29. doi: 10.3389/fgene.2020.00029. PMID: 32117445; PMCID: PMC7013921.
使用数据集
需安装Python、PyTorch和PyTorch Geometric。使用以下命令安装所需包: bash pip install torch torch-geometric numpy
数据集加载示例
python import torch import numpy as np
加载PyTorch字典
graph_data_dict = torch.load(path/to/hnscc.patient.chg.network.pth)
加载邻接矩阵
adjacency_matrix = np.load(path/to/hnsc.edges.npy)
访问特定患者数据示例
patient_id = example_patient_id # 替换为实际患者ID patient_data = graph_data_dict[patient_id]
数据预处理
确保基因表达数据标准化并稳健缩放到0到1的范围内。拷贝数变异数据应从离散变量(范围-2到2)线性转换为连续表示。突变类型应以二进制格式编码,1表示突变存在,0表示不存在。甲基化数据应保持为六个基因区域的连续变量。
网络构建
使用包含2,784个基因的癌症标志基因集构建网络,根据基因对之间共享的通路数量定义加权边。
模型训练
加载和预处理数据后,可使用提供的配置和数据加载器训练Graph Attention Autoencoder。模型训练目标为验证集余弦相似度0.835和测试集余弦相似度0.8。
分析与可视化
使用训练好的模型进行各种分析和可视化,如提取潜在特征、将患者聚类成不同组别并进行生存分析。详细说明和代码示例在相关仓库的README文件中提供。
引用
如在研究中使用此数据集,请引用以下论文: Zhang D, Huo D, Xie H, Wu L, Zhang J, Liu L, Jin Q, Chen X. CHG: A Systematically Integrated Database of Cancer Hallmark Genes. Front Genet. 2020 Feb 5;11:29. doi: 10.3389/fgene.2020.00029. PMID: 32117445; PMCID: PMC7013921.




