torch_geometric.datasets.BrcaTcga
- class BrcaTcga(root: str, transform: Optional[Callable] = None, pre_transform: Optional[Callable] = None, pre_filter: Optional[Callable] = None, force_reload: bool = False)[source]
Bases:
InMemoryDataset乳腺癌(BRCA TCGA Pan-Cancer Atlas)数据集包含来自 cBioPortal 的具有生存信息和基因表达数据的患者,以及来自 Pathway Commons 的这些节点之间的生物相互作用网络。 该数据集包含1,082名患者的基因特征,以及每位患者的总生存时间(以月为单位)作为标签。
关于如何使用此数据集的预处理和示例模型代码可以在这里找到。
- Parameters:
root (str) – Root directory where the dataset should be saved.
transform (callable, optional) – A function/transform that takes in an
torch_geometric.data.Dataobject and returns a transformed version. The data object will be transformed before every access. (default:None)pre_transform (callable, optional) – A function/transform that takes in an
torch_geometric.data.Dataobject and returns a transformed version. The data object will be transformed before being saved to disk. (default:None)pre_filter (callable, optional) – A function that takes in an
torch_geometric.data.Dataobject and returns a boolean value, indicating whether the data object should be included in the final dataset. (default:None)force_reload (bool, optional) – Whether to re-process the dataset. (default:
False)
统计:
#图表
#节点
#edges
#特性
1,082
9,288
271,771
1,082