tcR (version 2.3.2)

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

Description

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

Usage

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

Run this code
# NOT RUN {
d <- kmer_profile(c('CASLL', 'CASSQ', 'CASGL'))
vis.logo(d)
# }

Run the code above in your browser using DataLab