Challenge: Differential Expression (Simplified)
Taak
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.
Oplossing
Was alles duidelijk?
Bedankt voor je feedback!
Sectie 3. Hoofdstuk 4
single
Vraag AI
Vraag AI
Vraag wat u wilt of probeer een van de voorgestelde vragen om onze chat te starten.
Geweldig!
Completion tarief verbeterd naar 6.25
Challenge: Differential Expression (Simplified)
Veeg om het menu te tonen
Taak
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.
Oplossing
Was alles duidelijk?
Bedankt voor je feedback!
Sectie 3. Hoofdstuk 4
single