Extopk {miRLAB} | R Documentation |
Rank the miRNA-mRNA interactions based on absolute values of the correlations/scores/causal effects, and return the topk interactions.
Extopk(cormat, topk)
cormat |
the correlation matrix that need to be extracted with columns are miRNAs and rows are mRNAs |
topk |
the number of interactions that need to be extracted. |
topk interactions
dataset=system.file("extdata", "ToyEMT.csv", package="miRLAB") EMTresults=Pearson(dataset, 1:3, 4:18) top10=Extopk(EMTresults, 10)