knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "README-" )
The pRon package contains functions to help handle oligo-nucleotides (k-mers), including creating frequency/energy profile figures.
This package provides some useful functions that I frequently used:
devtools::install_bitbucket(repo="markheron/pRon", auth_user="user_name", password="your_password")
or install all of Marks packages with the maRs package:
install_marks_package_suite(auth_user="user_name")
library(pRon) oligo_names(2)
fastas <- cut_out_fasta_multiple(chr=chr_vec, pos = pos_vec, strand = strand_vec, size = 100, order = 2, genome_dir = "path/to/genome") num_fasta_matrix <- fasta2num(fastas=fastas, oligo_length = 2) plotOligoFreqs(num_fasta_matrix)
The pRon package is licensed under the GPLv3 (http://www.gnu.org/licenses/gpl.html).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.