Limited package to enable easy plotting of data using ggplot2 and NextRNA corporate colors. Code from here.
scale_color_nextrna()
and scale_fill_nextrna()
ggplot(data = lin28_df, aes(x = exp, y = estimate, label = primary_diagnosis)) +
geom_point(aes(color = version), alpha = .8) + scale_color_nextrna()
ggplot(data = lin28reg, aes(label = primary_diagnosis)) +
geom_col(aes(x = as.character(mirna_id), y = estimate, fill = csd_status)) +
scale_fill_nextrna()
# need discrete = F to create continuous color scale for heatmap
ggplot(cor_df, aes(x = let_version, y = primary_diagnosis, label = p.value)) +
geom_raster(aes(fill = estimate)) + scale_fill_nextrna(discrete = F)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.