Challenge: Differential Expression (Simplified)
Tehtävä
Swipe to start coding
Write a Python function that identifies genes with a fold change above a specified threshold between two conditions.
- Compare each gene's normalized count in
treatment_countsto its count incontrol_counts. - Calculate the fold change as the ratio of treatment to control for each gene.
- If the control count is zero, treat division by zero by comparing treatment count directly to the threshold.
- Return a list of gene names where the fold change is greater than the specified threshold.
Ratkaisu
Oliko kaikki selvää?
Kiitos palautteestasi!
Osio 3. Luku 4
single
Kysy tekoälyä
Kysy tekoälyä
Kysy mitä tahansa tai kokeile jotakin ehdotetuista kysymyksistä aloittaaksesi keskustelumme
Mahtavaa!
Completion arvosana parantunut arvoon 6.25
Challenge: Differential Expression (Simplified)
Pyyhkäise näyttääksesi valikon
Tehtävä
Swipe to start coding
Write a Python function that identifies genes with a fold change above a specified threshold between two conditions.
- Compare each gene's normalized count in
treatment_countsto its count incontrol_counts. - Calculate the fold change as the ratio of treatment to control for each gene.
- If the control count is zero, treat division by zero by comparing treatment count directly to the threshold.
- Return a list of gene names where the fold change is greater than the specified threshold.
Ratkaisu
Oliko kaikki selvää?
Kiitos palautteestasi!
Osio 3. Luku 4
single