ggplot( aes(TargetName, raw_unscaled) ) + geom_violin() + scale_y_log10(breaks = c(c(1, 2, 5, 10, 20, 50, 100))) + theme( axis.text.x = element_text(angle = 90, hjust = 1, vjust = 0.5) ) ``` ## QC metrics ```{r} write_csv( sample_qc_metrics, "data_processed...
ggplot(DF.prot,aes(x=X1,y=X2))+geom_point()+geom_segment(aes(x=X1,y=X2,xend = Y1, yend = Y2),arrow = arrow(length = unit(0.1,"cm"))) + ggtitle("Correlation between duplicates in second batch of samples (arrow length indicates the difference)") PROTEST ``` *9- Merge Dupli...
numeric value: specifying the rank of the reference group. For example, useref.group = 1when the first group is the reference; useref.group = 2when the second group is the reference, and so on. This works for all situations, including i) when comparisons are performed between x-axis group...
paste("Evolution of energy\nconsumption in", Country)) + xlab("") + ylab("Energy (kg of oil equivalent)") + labs(color = "") + theme_bw() + theme(plot.title = element_text(size=10)) + theme(axis.title.y = element_text(size=9)) } plotEvoUse("United States") %>% ggplot...
Generating a stacked area chart in ggplot2 and then converting it to plotly using ggplotly doesn't work as supposed either (the plot doesn't get rescaled correctly if traces in between are unselected, there will just be space left). proposed workaround by @etpinard (in JS): https://code...
* An as.data.frame method has been added for ITime, so that ITime can be passed to ggplot2 without error, #1713. Thanks to Farrel Buchinsky for reporting. Tests added. ITime axis labels are still displayed as integer seconds from midnight; we don't know why ggplot2 doesn't invoke ...
prop_world_energy_fossil)))+ggtitle("Share of world...")+xlab("")+ylab("")+scale_y_continuous(labels=scales::percent)+theme_bw()+theme(plot.title=element_text(size=10))+theme(axis.text.x=element_text(angle=45,hjust=1)) } suppressWarnings(plotShareUse("Germany")) %>% ggplotly(...