11.3 Exercise 7: boxplot
- Read in DataViz_source_files-main/files/GSE150029_rnaseq_log2_long.csv into a new object called rnaseq2.
- Create a boxplot that will represent the samples on the x axis, and their expression on the y axis.
- Split the boxes per gene_biotype.
correction
- Keep only protein_coding and lincRNA biotypes (you can save the filtered data into a new object) and re-do the same plot as in 3.
correction
- Add a geom_violin() layer. Set alpha=0.3 in geom_violin. What is the alpha parameter?
correction
- Look at the help page of geom_boxplot() and change the following parameters:
- Set outlier color to red
- Set outlier shape as triangles