These exercises cover the sections of Data wrangling with tidy.

All files can be found in the “dataset” directory.

 

Exercise 10

 

  1. Create new categorical variable for the counts dataframe (tidy_counts_expressed_norm) based on whether a gene is short (0-3000), medium (0-6000) or long (6000+)
  2. Ensure categorical variable is a factor which is ordered from long, medium then short
  3. Draw a boxplot of TPMs between our new groups