Challenge: Differential Expression (Simplified)
Завдання
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.
Рішення
Все було зрозуміло?
Дякуємо за ваш відгук!
Секція 3. Розділ 4
single
Запитати АІ
Запитати АІ
Запитайте про що завгодно або спробуйте одне із запропонованих запитань, щоб почати наш чат
Suggested prompts:
Can you explain this in simpler terms?
What are the main takeaways from this?
Can you give me an example?
Чудово!
Completion показник покращився до 6.25
Challenge: Differential Expression (Simplified)
Свайпніть щоб показати меню
Завдання
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.
Рішення
Все було зрозуміло?
Дякуємо за ваш відгук!
Секція 3. Розділ 4
single