cdr_length_across_reps: Plot comparing CDR3 lengths across repertoies

Description Usage Arguments Value Examples

View source: R/cdr_length_across_reps.R

Description

Plot comparing CDR3 lengths across repertoies

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
cdr_length_across_reps(
  list_repertoires,
  rep_category,
  length_range = c(6:28),
  chain = "H",
  unique_seqs = TRUE,
  size_x_axis = 10,
  width_height = c(x = 15, y = 15),
  color_scale,
  sample_name = "",
  figure_path = ""
)

Arguments

list_repertoires

List of repertoires

rep_category

Metadata

length_range

CDR lengths to be considered

chain

Heavy (H) or Light (L)

unique_seqs

If true sequences are uniqued before length dist is calculated

size_x_axis

Size of text on x-axis

width_height

Width and height of plot

color_scale

Color scale to be applied

sample_name

ID of analysis for plot naming

figure_path

Path to which figure is saved

Value

TRUE (plots saved as pdfs into path_figures)

Examples

1
cdr_length_across_reps(list_repertoires, rep_category, length_range=c(6:28),chain="H",unique_seqs=TRUE, size_x_axis=10,width_height=c(x=15,y=15), color_scale, sample_name="",figure_path="")

LSSI-ETH/Ehling_Covid_2021 documentation built on Dec. 18, 2021, 3:39 a.m.