SuhanC / CancerFitness

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CancerFitness

  1. This is part of published paper by Park et al., 2021.
  2. I'm trying to use 3-way interaction to XAI modeling.

ORIGINAL MD file

This code implements methods for identifying interactions between mutations and CNAs within a cancer gene using log-linear regression model.

To determine the significance of the co-occurrence of a pair of somatic mutation and CNAs within a gene across cancer types, we generated a model using a log-linear regression with a Poisson function using the MASS package in R (Ripley, 2013).

See Park et al, 2021 (submitted) for details.

Note 1: the R pacakge used to generate the results for the manuscript is here.

Note 2 for the introduction of the input file:

Input file is required four types of sample types in each cancer type, including (i) Mut_CNAs, number of samples with both mutation and CNAs, (ii) NoMut_CNAs, number of samples with only CNAs, without mutation, (iii) Mut_WT, number of samples with only mutation without CNAs, and (iv) NoMut_WT, number of samples neither mutation nor CNAs. In the R code formulas, N indicates the number of samples across four conditions, including “mut” presents the number of samples with mutation event and “CNA gain (or loss)” presents the number of samples with CNA gain (or loss) event.

Model1) 2-way interaction between mutation and CNAs within a gene-tissue pair. Model2) cancer-type specific 2-way interaction between mutation and CNAs within a gene-tissue pair between two cancer types (detected cancer type vs merged other targeting cancer types). Model3) 3-way interaction between two genes with three genomic alterations (geneA-CNA: geneA-mutation: geneB-mutation).

About


Languages

Language:Jupyter Notebook 88.9%Language:R 8.0%Language:Python 3.1%