Learn R Programming

DAPAR (version 1.4.7)

proportionConRev: Barplot of proportion of contaminants and reverse

Description

Plots a barplot of proportion of contaminants and reverse

Usage

proportionConRev(obj, idContaminants = NULL, prefixContaminants = NULL, idReverse = NULL, prefixReverse = NULL)

Arguments

obj
An object of class MSnSet.
idContaminants
The name of a column of Contaminants
prefixContaminants
The prefix to identify contaminants
idReverse
The name of a column of Reverse
prefixReverse
The prefix to identify Reverse

Value

A barplot

Examples

Run this code
data(UPSpep25)
pref <- "+"
proportionConRev(UPSpep25, "Potential.contaminant", pref, "Reverse", pref)

Run the code above in your browser using DataLab