rankingProcessAndReturn {PWMEnrich} | R Documentation |
A helper function for motifRankingForGroup and motifRankingForSequence with the common code
rankingProcessAndReturn(res, r, id, order, rank, unique, decreasing)
res |
the list of results from MotifEnrichmentResults object |
r |
the vector of raw results that needs to be processed |
id |
if to return IDs instead of names |
order |
if to return the ordering of motifs |
rank |
if to return the rank of motifs |
unique |
if to remove duplicates |
decreasing |
specifies the sorting order |