Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Aprende Challenge: Manipulating Genomic Data | Reproducible and Genomic-Style Analysis
Practice
Projects
Quizzes & Challenges
Quizzes
Challenges
/
R for Biologists and Bioinformatics

bookChallenge: Manipulating Genomic Data

Tarea

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.

Solución

¿Todo estuvo claro?

¿Cómo podemos mejorarlo?

¡Gracias por tus comentarios!

Sección 4. Capítulo 2
single

single

Pregunte a AI

expand

Pregunte a AI

ChatGPT

Pregunte lo que quiera o pruebe una de las preguntas sugeridas para comenzar nuestra charla

close

bookChallenge: Manipulating Genomic Data

Desliza para mostrar el menú

Tarea

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.

Solución

Switch to desktopCambia al escritorio para practicar en el mundo realContinúe desde donde se encuentra utilizando una de las siguientes opciones
¿Todo estuvo claro?

¿Cómo podemos mejorarlo?

¡Gracias por tus comentarios!

Sección 4. Capítulo 2
single

single

some-alt