plotDetectionSimilarity: Detection Jaccard similarity

View source: R/func.R

plotDetectionSimilarityR Documentation

Detection Jaccard similarity

Description

plotDetectionSimilarit plots a distribution of (peptide) detection similarities between samples. Jaccard similarity between two sets is defined as the size of the intersection divided by the size of the union. This plot can be used to assess quality of data.

Usage

plotDetectionSimilarity(
  pdat,
  bin.size = 0.01,
  text.size = 12,
  plot.grid = TRUE,
  hist.colour = "grey30"
)

Arguments

pdat

A proteusData object with peptides (or proteins).

bin.size

Bin size for the histogram.

text.size

Text size.

plot.grid

Logical to plot grid.

hist.colour

Colour of the histogram.

Value

A ggplot object.

Examples

library(proteusLabelFree)
data(proteusLabelFree)
plotDetectionSimilarity(pepdat)



bartongroup/Proteus documentation built on April 22, 2023, 5:33 a.m.