In all melanoma cell lines, for each modality (promoter hypomethylation, promoter hypermethylation, gene amplification, and gene deletion) and for each gene, we built an ANOVA model using TF targeting as the response variable across all melanoma cell lines while the status of that gene (either promoter methylation or copy number status) was the explanatory variable. For example, in modeling promoter hypermethylation, we chose positive instances to represent hypermethylated promoters and negative instances for nonmethylated promoters along with an additional factor correcting for the cell lineage. Similarly, for copy number variation analysis, we chose positive instance to represent amplified genes and negative instances for nonamplified genes while correcting for cell lineage. We only computed the associations if they had at least three positive instances of the explanatory variable (for example, promoter hypomethylation in at least three cell lines).
To predict drug response using TF targeting, we conducted a linear regression with elastic net [45 (link)] regularization as implemented in the Python package sklearn v1.1.3 using an equal weight of 0.5 for L1 and L2 penalties using regorafenib cell viability assays in melanoma cell lines as a response variable and the targeting scores of 1,132 TFs (Table S
Finally, to model EMT in melanoma, we used MONSTER on two LIONESS networks of melanoma cancer cell lines, one representing a primary tumor (Depmap ID: ACH-000580) as the initial state and the other a metastasis cell line (Depmap ID: ACH-001569) as the end state. We modified the original implementation of MONSTER that implements its own network reconstruction procedure to take any input network, such as LIONESS networks. MONSTER identifies differentially involved TFs in the transition by shuffling the columns of the initial and final state adjacency matrices 1000 times to build a null distribution, which is then used to compute a standardized differential TF involvement score by scaling the obtained scores by those of the null distribution.