A collection of tiny R functions for handy use.
devtools::install_github("liuyujie0136/tinyfuncr")
bm2md
: Convert html format bookmarks to markdownspirograph
: Draw SpirographmergeDups
: Merge duplicated lines into one entryexpandDups
: Expand one entry into multiple linesRWrapper
: Wrapper for reading and writing filesread_tcsv
: Read table/csv files into a data framewrite_tcsv
: Write table/csv files from a data framegeom_signif_wrapper
: Wrapper for significance layer in ggsignif
ggbetweenstats_wrapper
: Wrapper for (grouped_)ggbetweenstats
in ggstatsplot
ggchrom
: Annotate chromosome using ggplot2
calcDensity
: Calculate density in a given regioncalcDensityGFF
: Calculate gene density on chromosomeggfanplot
: Add "fanplot" to chromosomeggideogram
: Plot ideogram and annotations on chromosomeextractPos
: Extract all elements from GFF3 filegenometracks
: Plot genome tracks for NGS dataggepitracks
: Plot epigenetic data tracks using ggplot2tidyverse
: ggplot2
, dplyr
, stringr
, tidyr
, purrr
magrittr
, reshape2
, data.table
ggplot2
extensions: ggstatsplot
, ggrepel
, ggsignif
, ggtree
, patchwork
, cowplot
, scales
, ggh4x
RColorBrewer
, paletteer
GenomicRanges
, rtracklayer
gmp
, rlang
, ipmisc
, parallel
If you find bugs, please open an issue.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.