Skip to content

Latest commit

 

History

History
15 lines (13 loc) · 1.12 KB

File metadata and controls

15 lines (13 loc) · 1.12 KB

various_R_scripts

This repo is still a work-in-progress. Scripts are for educational purposes, but should not be considered a definitive resource.

script name description
select_rows_containing_
extreme_N_values_
in_each_column.R
see https://twitter.com/LrnBioinformatx/status/1525246082120302599?s=20&t=Yxdt0U56Ja2-mbQ3ykaadA
command_line.R script demonstrating reading and using arguments from the command line (using the library argparser)
gridarrange.R Arrange plots in a grid, with specific placement and sizing.
See the excellent comments in the code for how to use it.
multi_size_pdf.R Create PDF files off ggplots that can have different dimensions on each page
pca.R Demonstrates a simple PCA plot
reshape.R Reshape dataframe using reshape2's dcast and tidyr's pivot_wider
rotor.R Chop up vectors into a list of vectors, each of the same size (with optional partial list). Inspired by Raku's rotor function. (also modulino example)
separate_delim.R Split delimited column values into separate columns