Plot a histogram of kmer frequency across genes
kmer_hist.Rd
Plot a histogram of kmer frequency across genes
Arguments
- seqs
Input Biostrings::DNAStringSet
- target.seq
Character vector of target seed sequence. Must be same size as width parameter.
- width
Width of the kmer to count.
- step
Step size for kmer window along the sequence.
- title
Figure title
Value
A list of:
*$plot
: A histogram of frequencies X number of genes with kmer
*$matrix
: Counts matrix
Examples
if (FALSE) { # interactive()
annodb = load_annotations("hg38", canonical = T)
kmer_hist(annodb$seqs, "AAAAAAA")
}