Using geom_line to change the appearance of a line plot with ggplot2 in R (CC097)

preview_player
Показать описание
Have a boring line plot? Pat uses geom_line from the ggplot2 R package to walk through how to make attractive (and ugly) line plots in this episode of Code Club. Pat will modify a figure with a set of receiver operator characteristic (ROC) curves to change their thickness, pattern, color, and how line ends and segments are joined together. Finally, he'll bring it all together to make an attractive (and kinda ugly) figure.

Do you have a figure that you would like to receive a critique or help improving? Let me know and I'd be happy to arrange a guest appearance!

You can also find complete tutorials for learning R with the tidyverse using...

0:00 Introduction
1:49 ROC curves w/ geom_line
2:40 size parameter
3:33 linetype aesthetic (w/ numbers)
5:39 linetype aesthetic (w/ words)
6:25 color and group aesthetics
8:03 An experiment
10:32 lineend and linejoin parameters
12:42 Improving appearance of figure
20:11 Experiment!
Рекомендации по теме
Комментарии
Автор

What do you think of those multicolored ROC curves? Can you imagine a situation where it might work better?

Riffomonas
Автор

Finally a simple video to understand this things... thanks you very much, I was tired of seeing "tutorials" that were so confusing and technical, that even skipped key details when someone is just starting out and needs a step-by-step process.

sebastiancerpa
Автор

How do you do these videos? I'm starting some videos for a basic bioinformatics course, and I like the "see me coding" thing you've got ...

GaboEntropy
join shbcf.ru