bRank: Extract topk predicted targets of a miRNA
Rank all the targets of a miRNA and extract the topk targets
Description
Extract topk predicted targets of a miRNA
Rank all the targets of a miRNA and extract the topk targets
Usage
bRank(CEmatrix, causeIndex, topk, downreg = TRUE)
Arguments
CEmatrix
the matrix of correlation/causal effect/score results with columns are miRNAs and rows are mRNAs
causeIndex
the column index of the miRNA that we would like to extract
topk
the number of targets being extracted
downreg
if TRUE the negative correlation/causal effect/score will be on the top of the ranking. This is to
favour the negative regulations.
Value
a matrix with 3 columns, where the first column contains the miRNA, the second column contains the mRNAs and the last column contains the correlations/causal effects/scores