R: Visualise kmer profiles

vis_immunr_kmer_profile_main {immunarch} | R Documentation

## Visualise kmer profiles

### Description

Visualise kmer profiles

### Usage

    vis_immunr_kmer_profile_main(.data, .plot, ...)

### Arguments

`.data` | Kmer data, an output from kmer_profile.
`.plot` | String specifying the plot type: - "seqlogo" for traditional sequence logo plots using vis_seqlogo; - "textlogo" for modified approach to sequence logo plots via text labels using vis_textlogo;
`...` | Other arguments passed to vis_textlogo or vis_seqlogo, depending on the ".plot" argument.

### Value

A ggplot2 object.

### Examples

    data(immdata)
    getKmers(immdata$data[[1]], 5) %>%
      kmer_profile() %>%
      vis("seqlogo")

[Package immunarch version 0.6.5 Index]