Challenge: Manipulating Genomic Data
Завдання
Swipe to start coding
Write a function that takes a gene expression matrix, a vector of gene names, and a vector of sample names, and returns both the subsetted matrix and a vector of average expression values for each selected gene across the selected samples.
- Subset the input matrix to include only the specified genes (rows) and samples (columns).
- Calculate the average expression value for each selected gene across the selected samples.
- Return a list containing the subsetted matrix and the vector of average expression values.
Рішення
Все було зрозуміло?
Дякуємо за ваш відгук!
Секція 4. Розділ 2
single
Запитати АІ
Запитати АІ
Запитайте про що завгодно або спробуйте одне із запропонованих запитань, щоб почати наш чат
Чудово!
Completion показник покращився до 5
Challenge: Manipulating Genomic Data
Свайпніть щоб показати меню
Завдання
Swipe to start coding
Write a function that takes a gene expression matrix, a vector of gene names, and a vector of sample names, and returns both the subsetted matrix and a vector of average expression values for each selected gene across the selected samples.
- Subset the input matrix to include only the specified genes (rows) and samples (columns).
- Calculate the average expression value for each selected gene across the selected samples.
- Return a list containing the subsetted matrix and the vector of average expression values.
Рішення
Все було зрозуміло?
Дякуємо за ваш відгук!
Секція 4. Розділ 2
single