Logo - plots for amino acid and nucletide profiles.

Share:

Description

Plot logo-like graphs for visualising of nucleotide or amino acid motif sequences / profiles.

Usage

1
2
vis.logo(.data, .replace.zero.with.na = T, .jitter.width = 0.01,
  .jitter.height = 0.01, .dodge.width = 0.15)

Arguments

.data

Output from the kmer.profile function.

.replace.zero.with.na

if T then replace all zeros with NAs, therefore letters with zero frequency wont appear at the plot.

.jitter.width, .jitter.height, .dodge.width

Parameters to position_jitterdodge for aligning text labels of letters.

Value

ggplot2 object

Examples

1
2
3
4
5
## Not run: 
d <- kmer.profile(c('CASLL', 'CASSQ', 'CASGL'))
vis.logo(d)

## End(Not run)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.