| getColours {propr} | R Documentation |
propd Pairs by DE ResultsThe getColours function "colours" the pairs based on a
vector of differential expression (DE) results. If both members
in the pair are DE, the colour is "Green". If both members in the
pair are not DE, the colour is "Red". If only one is DE, the
colour is "Yellow". This allows the results of a DE analysis
to affect the interpretation of differential proportionality.
Importantly, the significance of differential proportionality is
independent of the DE method used.
getColours(object, DE, cutoff = NA, include = NA, or = TRUE) getColors(object, DE, cutoff = NA, include = NA, or = TRUE)
object |
Any |
DE |
A logical vector. The i-th element should state whether the i-th gene is differentially expressed. |
cutoff |
For |
include |
This argument indicates which features by
name should belong to a pair for that pair to get included
in the results. Subset performed by
|
or |
A boolean. If |
For use in conjunction with getNormTheta.
A data.frame. The output of getResults
with a "colour" column.