hollygene / CornellPostdoc

Various scripts I used during my tenure as a Postdoctoral Associate at Cornell University
0 stars 0 forks source link

Correlate phenotype and genotype - compare AMR gene classes with resistance phenotypes from Olga's spreadsheets #2

Open hollygene opened 3 years ago

hollygene commented 3 years ago
hollygene commented 3 years ago

^ above tasks are not appropriate for the dataset

Instead:

hollygene commented 3 years ago
  Phenotype: Susceptible Phenotype: Resistant      
Class Genotype: S Genotype: R Genotype: S Genotype: R match total correlation
AMINOGLYCOSIDE 1058 180 30 18 1076 1286 83.6702955
Amikacin 492 96 3 0 492 591 83.248731
hollygene commented 3 years ago
Phenotype: Susceptible  Phenotype: Resistant      
Genotype: R Genotype: S Genotype: R Genotype: S
6 14 2 14
6 9 0 7