Preprocessing (pasmopy.preprocessing
)
- class pasmopy.preprocessing.weighting_factors.WeightingFactors(model, gene_expression)
Prepare for adding information about gene expression data to model.
- model
BioMASS model object.
- Type:
biomass.model_object.ModelObject
Examples
>>> import erbb_network >>> model = Model(erbb_network.__package__).create() >>> gene_expression = { ... "ErbB1": ["EGFR"], ... "ErbB2": ["ERBB2"], ... "ErbB3": ["ERBB3"], ... "ErbB4": ["ERBB4"], ... "Grb2": ["GRB2"], ... "Shc": ["SHC1", "SHC2", "SHC3", "SHC4"], ... "RasGAP": ["RASA1", "RASA2", "RASA3"], ... "PI3K": ["PIK3CA", "PIK3CB", "PIK3CD", "PIK3CG"], ... "PTEN": ["PTEN"], ... "SOS": ["SOS1", "SOS2"], ... "Gab1": ["GAB1"], ... "RasGDP": ["HRAS", "KRAS", "NRAS"], ... "Raf": ["ARAF", "BRAF", "RAF1"], ... "MEK": ["MAP2K1", "MAP2K2"], ... "ERK": ["MAPK1", "MAPK3"], ... "Akt": ["AKT1", "AKT2"], ... "PTP1B": ["PTPN1"], ... "GSK3b": ["GSK3B"], ... "DUSP": ["DUSP5", "DUSP6", "DUSP7"], ... "cMyc": ["MYC"], ... } >>> weighting_factors = WeightingFactors(model, gene_expression) >>> weighting_factors.add_to_params() >>> weighting_factors.set_search_bounds()