Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Oppiskele Challenge: Organizing Experimental Data | Getting Started with R for Biology
R for Biologists and Bioinformatics

bookChallenge: Organizing Experimental Data

Tehtävä

Swipe to start coding

Create a function to organize and filter data from a biological experiment using a data frame.

  • Create a data frame with columns "SampleID", "Treatment", and "Outcome", and add at least five rows of sample data.
  • Filter the data frame to include only samples with the "DrugA" treatment.
  • Filter the data frame to include only samples where the "Outcome" is "Alive".
  • Assign the original data frame and both filtered data frames to variables named df1, df2, and df3, respectively.

Ratkaisu

Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 1. Luku 4
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 more detail?

What are the main benefits or drawbacks?

Can you give an example?

close

bookChallenge: Organizing Experimental Data

Pyyhkäise näyttääksesi valikon

Tehtävä

Swipe to start coding

Create a function to organize and filter data from a biological experiment using a data frame.

  • Create a data frame with columns "SampleID", "Treatment", and "Outcome", and add at least five rows of sample data.
  • Filter the data frame to include only samples with the "DrugA" treatment.
  • Filter the data frame to include only samples where the "Outcome" is "Alive".
  • Assign the original data frame and both filtered data frames to variables named df1, df2, and df3, respectively.

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 1. Luku 4
single

single

some-alt