make_barplot_grobs: Create a barplot for each allele, showing number of reads...

View source: R/plots.R

make_barplot_grobsR Documentation

Create a barplot for each allele, showing number of reads distributed by mutation count

Description

Create a barplot for each allele, showing number of reads distributed by mutation count

Usage

make_barplot_grobs(
  input_sequences,
  genotype_db,
  inferred_seqs,
  genotype,
  segment,
  calculated_NC
)

Arguments

input_sequences

the input_sequences data frame

genotype_db

named list of gene sequences in the personalised genotype

inferred_seqs

named list of novel gene sequences

genotype

data frame created by calc_genotype

segment

one of V, D, J

calculated_NC

a boolean, TRUE if mutation counts had to be calculated, FALSE otherwise

Value

list of grobs

Examples

barplot_grobs = make_barplot_grobs(
                      example_rep$input_sequences,
                      example_rep$genotype_db,
                      example_rep$inferred_seqs,
                      example_rep$genotype,
                      'V',
                      example_rep$calculated_NC
               )


airr-community/ogrdbstats documentation built on Feb. 17, 2025, 5:05 p.m.