plot_dynamics_protein {vDiveR}R Documentation

Dynamics of Diversity Motifs (Protein) Plot

Description

This function compactly display the dynamics of diversity motifs (index and its variants: major, minor and unique) in the form of dot plot(s) as well as violin plots for all the provided individual protein(s).

Usage

plot_dynamics_protein(
  df,
  host = 1,
  protein_order = "",
  base_size = 8,
  alpha = 1/3,
  line_dot_size = 3,
  bw = "nrd0",
  adjust = 1
)

Arguments

df

DiMA JSON converted csv file data

host

number of host (1/2)

protein_order

order of proteins displayed in plot

base_size

base font size in plot

alpha

any number from 0 (transparent) to 1 (opaque)

line_dot_size

dot size in scatter plot

bw

smoothing bandwidth of violin plot (default: nrd0)

adjust

adjust the width of violin plot (default: 1)

Value

A plot

Examples

plot_dynamics_protein(proteins_1host)

[Package vDiveR version 1.2.1 Index]