getCompoundEvents.IdMapDiffCounts {IdMappingAnalysis} | R Documentation |
Transforms the IdMapDiffCounts triplet <A-A*B, A*B, B-A*B> into the <excess both, excess left etc.> form suitable for using within the fountain plot. Computed on the fly within the IdMapDiffCounts$summary() and IdMapDiffCounts$plot() functions.
## S3 method for class 'IdMapDiffCounts' getCompoundEvents(this, verbose=FALSE, ...)
verbose |
|
... |
Not used |
A data.frame
with 7 columns each corresponding to a particular compaund set
derived from the event triplet <A-A*B, A*B, B-A*B>
and with rows containing mathches (TRUE or FALSE) for a given primary ID.
The columns and the compaund set description are as follows:
excess.both |
A and B have non-empty intersection and both sets have unique elements |
excess.left |
A and B have non-empty intersection and only A has unique elements |
excess.right |
A and B have non-empty intersection and only B has unique elements |
same.list |
Non-empty A and B are the same |
in.left.only |
Only A set is non-empty |
in.right.only |
Only B set is non-empty |
in.neither |
Both sets are empty |
Alex Lisovich, Roger Day
For more information see IdMapDiffCounts
.
#create IdMapDiffCounts object IDs<-IdMapBase$primaryIDs(examples$msmsExperimentSet); jointIdMap<-JointIdMap(examples$identDfList,primaryIDs=IDs); diffs<-jointIdMap$getDiff("NetAffx_F","DAVID_Q",verbose=TRUE); diffCounts<-IdMapDiffCounts(diffs); # get compound events events<-diffCounts$getCompoundEvents(); events[1:10,];