Description Usage Arguments Value Methods (by generic) Slots Author(s) See Also Examples
The NCBSet class is a container for a top-down proteomics experiment
similar to the TopDownSet
but instead of intensity values it just stores the information if a
bond is covered by a N-terminal (encoded as 1
),
a C-terminal (encoded as 2
)
and/or bidirectional fragments (encoded as 3
).
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | ## S4 method for signature 'NCBSet'
bestConditions(
object,
n = ncol(object),
minN = 0L,
maximise = c("fragments", "bonds"),
...
)
## S4 method for signature 'NCBSet'
fragmentationMap(
object,
nCombinations = 10,
cumCoverage = TRUE,
maximise = c("fragments", "bonds"),
labels = colnames(object),
alphaIntensity = TRUE,
...
)
## S4 method for signature 'NCBSet'
show(object)
## S4 method for signature 'NCBSet'
summary(object, what = c("conditions", "bonds"), ...)
|
object |
|
n |
|
minN |
|
maximise |
|
nCombinations |
|
cumCoverage |
|
labels |
|
alphaIntensity |
|
what |
|
... |
arguments passed to internal/other methods. added. |
An NCBSet object.
bestConditions
: Best combination of conditions.
Finds the best combination of conditions for highest coverage of fragments or
bonds. If there are two (or more conditions) that would add the same number
of fragments/bonds the one with the highest assigned intensity is used. Use
n
to limit the number of iterations and combinations that should be
returned.
If minN
is set at least minN
fragments have to be added to the
combinations. The function returns a 7-column matrix. The first column
contains the index (Index
) of the condition (column number). The next
columns contain the newly added number of fragments or bonds
(FragmentsAddedToCombination
, BondsAddedToCombination
), the fragments
or bonds in the condition (FragmentsInCondition
, BondsInCondition
), and
the cumulative coverage fragments or bonds (FragmentCoverage
,
BondCoverage
).
fragmentationMap
: Plot fragmentation map.
Plots a fragmentation map of the Protein.
Use nCombinations
to add another
plot with nCombinations
combined conditions.
If cumCoverage
is TRUE
(default)
these combinations increase the coverage cumulatively.
summary
: Summary statistics.
Returns a matrix
with some statistics: number of fragments,
total/min/first quartile/median/mean/third quartile/maximum of intensity
values.
rowViews
Biostrings::XStringViews, information about bonds (name, start, end, width, sequence), see Biostrings::XStringViews for details.
colData
S4Vectors::DataFrame, information about the MS2 experiments and the fragmentation conditions.
assay
Matrix::dgCMatrix,
coverage values of the bonds. The rows correspond to the bonds and the
columns to the condition/run. It just stores values that are different
from zero. If a bond is covered by an N-terminal fragment its encoded
with 1
, by an C-terminal fragmentl with 2
and
by both fragment types/bidirectional by 3
respectively.
files
character
, files that were imported.
processing
character
, log messages.
Sebastian Gibb mail@sebastiangibb.de
An NCBSet
is generated from an TopDownSet object.
Biostrings::XStringViews for the row view interface.
Matrix::dgCMatrix for technical details about the coverage storage.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | ## Example data
data(tds, package="topdownr")
## Aggregate technical replicates
tds <- aggregate(tds)
## Coercion into an NCBSet object
ncb <- as(tds, "NCBSet")
ncb
head(summary(ncb))
# Accessing slots
rowViews(ncb)
colData(ncb)
head(assayData(ncb))
# Accessing colData
ncb$Mz
# Subsetting
# First 100 bonds
ncb[1:100]
# Just bond 152
ncb["bond152"]
# Condition 1 to 10
ncb[, 1:10]
# Plot fragmentation map
fragmentationMap(ncb)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.