vis_immunr_kmer_profile_main: Visualise kmer profiles

View source: R/vis.R

vis_immunr_kmer_profile_mainR 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")

immunomind/immunarch documentation built on March 20, 2024, 12:01 p.m.