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

bookChallenge: Manipulating Genomic Data

Aufgabe

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.

Lösung

War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 4. Kapitel 2
single

single

Fragen Sie AI

expand

Fragen Sie AI

ChatGPT

Fragen Sie alles oder probieren Sie eine der vorgeschlagenen Fragen, um unser Gespräch zu beginnen

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

Swipe um das Menü anzuzeigen

Aufgabe

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.

Lösung

Switch to desktopWechseln Sie zum Desktop, um in der realen Welt zu übenFahren Sie dort fort, wo Sie sind, indem Sie eine der folgenden Optionen verwenden
War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 4. Kapitel 2
single

single

some-alt