vis.logo: Logo - plots for amino acid and nucletide profiles.

Description Usage Arguments Value Examples

View source: R/plots.R

Description

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

Usage

1
2
(.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'))
(d)

## End(Not run)

tcR documentation built on May 29, 2017, 11:07 p.m.

Search within the tcR package
Search all R packages, documentation and source code