AlleleProfileR.sample.distribution: Allelelic variant distribution summary and plotting function

Description Usage Arguments Value Author(s)

View source: R/functions_main.R

Description

This function determines summary statistics and plots barcharts of the allelic variants, for either coding sequence length or read counts.

Usage

1
2
3
4
5
AlleleProfileR.sample.distribution(pipe_config, sample.id = NA,
  gene.id = NA, plot = TRUE, plotparam = 1, alternate = NULL,
  title = TRUE, axis.text.size = 8, legend.text.size = 6,
  display_other = TRUE, ylabels = TRUE, order = NULL,
  emptyrow = TRUE, addwt = TRUE)

Arguments

pipe_config

congifuration object

sample.id

Sample id, from samples object.

gene.id

Gene id, from genes table.

plot

Plot results?

plotparam

If 1, the coding frame length will be plotted. If 2, the read count will be plotted. If 3, read proportion will be plotted.

alternate

Alternate reference for labeling the HDR variant, as defined by AlleleProfileR.alternatereference.

title

If TRUE, a title will be included in the graph.

axis.text.size

The size of the axis labels. Default is 8.

legend.text.size

The size of the legend labels. Default is 6.

display_other

Display the 'other' allele. Default is TRUE.

ylabels

Print ylabels. Default is TRUE.

order

ordering variable

emptyrow

Add emptyrow bool. Default is TRUE.

addwt

Add addwt bool. Default is TRUE.

Value

Table and/or plot.

Author(s)

Arne Bruyneel


abruyneel/AlleleProfileR documentation built on June 12, 2020, 2:47 p.m.