bRank {miRLAB} | R Documentation |
Extract topk predicted targets of a miRNA Rank all the targets of a miRNA and extract the topk targets
bRank(CEmatrix, causeIndex, topk, downreg = TRUE)
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. |
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
dataset=system.file("extdata", "ToyEMT.csv", package="miRLAB") ps=Pearson(dataset, cause=1:3, effect=4:18) miR200aTop10 = bRank(ps, 3, 10, TRUE)