bRank: Extract topk predicted targets of a miRNA Rank all the...

Description Usage Arguments Value Examples

View source: R/miRLAB.R

Description

Extract topk predicted targets of a miRNA Rank all the targets of a miRNA and extract the topk targets

Usage

1
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

Examples

1
2
3
dataset=system.file("extdata", "ToyEMT.csv", package="miRLAB")
ps=Pearson(dataset, cause=1:3, effect=4:18)
miR200aTop10 = bRank(ps, 3, 10, TRUE)

miRLAB documentation built on Nov. 8, 2020, 5:45 p.m.