barplotCounts: Number of detected features per sample

Description Usage Arguments Value Examples

Description

How many proteins/peptides are detected in each sample. NA are considered missing values.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
barplotCounts(x, ...)

## S4 method for signature 'SilacProteinExperiment'
barplotCounts(x, assayName, returnDataFrame = FALSE, conditionCol)

## S4 method for signature 'SilacPeptideExperiment'
barplotCounts(x, assayName, returnDataFrame = FALSE, conditionCol)

## S4 method for signature 'SilacProteomicsExperiment'
barplotCounts(x, assayName, returnDataFrame = FALSE, conditionCol)

Arguments

x

A SilacProteinExperiment, SilacPeptideExperiment or a SilacProteomicsExperiment object.

...

Unused.

assayName

Name of the assay to use in the plot.

returnDataFrame

A logical indicating if the data.frame used for the plot should be returned instead.

conditionCol

A character, which indicates the column name in colData(x) that defines the different experiment conditions.

Value

A ggplot2 barplot object or a data.frame.

Examples

1
2
data('wormsPE')
barplotCounts(wormsPE, assayName = 'ratio')

pulsedSilac documentation built on Nov. 8, 2020, 5:13 p.m.