RepresentedRegions: PlotPeptideLengthDistribution

Description Usage Arguments Value Examples

View source: R/PlotRAPIFunctions.R

Description

generate a ggplot2, where in the y axis the amount of alleles bindig to the sequence starting at x position is displayed they are also known as "immunodominant regions" as in Grifoni et al. https://doi.org/10.1016/j.chom.2020.03.002

Usage

1
2
3
4
5
6
RepresentedRegions(
  resDF,
  byGroup = FALSE,
  main = "Number of candidate epitopes per position",
  nbk = 100
)

Arguments

resDF

a data frame or RAPIMHCI or RAPIMHCII class object

main

a cg¿haracter with a plot title

nbk

number of x axis breaks

Value

a ggplot2 object

Examples

1
2
3
4
## Not run: 
RepresentedRegions(resDF)

## End(Not run)

elmerfer/RAPInetMHCpan documentation built on Sept. 17, 2021, 2:14 p.m.