These exercises cover the sections of Data wrangling with tidy.
All files can be found in the “dataset” directory.
Exercise 10
- 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+)
- Ensure categorical variable is a factor which is ordered from long, medium then short
- Draw a boxplot of TPMs between our new groups