ProteinAnnotation | R Documentation |
Decorates LFQData with a row annotation and some protein specific functions.
Decorates LFQData with a row annotation and some protein specific functions.
row_annot
data.frame containing further information
pID
column with protein ids
description
name of column containing descriptions
cleaned_ids
vector with columns containing addition IDs
nr_children
name of columns with the number of peptides
new()
initialize
ProteinAnnotation$new( lfqdata, row_annot = NULL, description = NULL, ids = NULL, nr_children = "nr_peptides" )
lfqdata
data frame from setup_analysis
row_annot
data frame with row annotation. Must have columns matching config$table$hierarchy_keys_depth()
description
name of column with description
ids
names of columns with cleaned Ids
nr_children
column with the number of children
nr_peptides
additional peptides
annotate_decoys()
annotate rev sequences
ProteinAnnotation$annotate_decoys(pattern = "REV_")
pattern
default "REV_"
annotate_contaminants()
annotate contaminants
ProteinAnnotation$annotate_contaminants(pattern = "^zz|^CON")
pattern
default "^zz|^CON"
nr_clean()
get number of neither contaminants nor decoys
ProteinAnnotation$nr_clean(contaminants = TRUE, decoys = TRUE)
contaminants
remove contaminants
decoys
remove decoys return number of cleans
clean()
remove REV and CON sequences
ProteinAnnotation$clean(contaminants = TRUE, decoys = TRUE)
contaminants
remove contaminants
decoys
remove decoys
clone()
The objects of this class are cloneable with this method.
ProteinAnnotation$clone(deep = FALSE)
deep
Whether to make a deep clone.
Other LFQData:
LFQData
,
LFQDataAggregator
,
LFQDataPlotter
,
LFQDataStats
,
LFQDataSummariser
,
LFQDataToSummarizedExperiment()
,
LFQDataWriter
istar <-prolfqua::sim_lfq_data_peptide_config()
lfqdata <- LFQData$new(istar$data, istar$config)
pannot <- ProteinAnnotation$new( lfqdata )
pannot$annotate_decoys()
pannot$annotate_contaminants()
dd <- pannot$clean()
tmp <- lfqdata$get_subset(dd)
pannot$row_annot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.