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

bookChallenge: Manipulating Genomic Data

Tehtävä

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.

Ratkaisu

Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 4. Luku 2
single

single

Kysy tekoälyä

expand

Kysy tekoälyä

ChatGPT

Kysy mitä tahansa tai kokeile jotakin ehdotetuista kysymyksistä aloittaaksesi keskustelumme

Suggested prompts:

Can you explain this in simpler terms?

What are the main points I should remember?

Can you give me an example?

close

bookChallenge: Manipulating Genomic Data

Pyyhkäise näyttääksesi valikon

Tehtävä

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.

Ratkaisu

Switch to desktopVaihda työpöytään todellista harjoitusta vartenJatka siitä, missä olet käyttämällä jotakin alla olevista vaihtoehdoista
Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 4. Luku 2
single

single

some-alt