Challenge: Differential Expression (Simplified)
Tâche
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.
Solution
Tout était clair ?
Merci pour vos commentaires !
Section 3. Chapitre 4
single
Demandez à l'IA
Demandez à l'IA
Posez n'importe quelle question ou essayez l'une des questions suggérées pour commencer notre discussion
Génial!
Completion taux amélioré à 6.25
Challenge: Differential Expression (Simplified)
Glissez pour afficher le menu
Tâche
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.
Solution
Tout était clair ?
Merci pour vos commentaires !
Section 3. Chapitre 4
single