Description Usage Arguments Value Class description Accessors Examples
Constructor function for the SilacProteinExperiment class object.
1 2 3 4 5 6 7 8 |
assays |
A named |
rowData |
A |
colData |
A |
conditionCol |
A |
timeCol |
A |
metadata |
A |
An object of class SilacProteinExperiment
.
See SilacProteinExperiment-class for details.
See SilacProteinPeptideExperiment-accessors for details.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | ## assays
assays_protein <- list(expression = matrix(1:9, ncol = 3))
## colData
colData <- data.frame(sample = c('A1', 'A2', 'A3'),
condition = c('A', 'A', 'A'),
time = c(1, 2, 3))
## rowData
rowData_protein <- data.frame(prot_id = LETTERS[1:3])
## construct the ProteinExperiment
protExp <- SilacProteinExperiment(assays = assays_protein,
rowData = rowData_protein,
colData = colData,
conditionCol = 'condition',
timeCol = 'time')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.