Computes the weighted enrichment score of a miRNA set in miRNA list. It is the same calculation as in
EnrichmentScore but faster without producing the RES, arg.RES and tag.indicator outputs.
This call is intended to be used to asses the enrichment of random permutations rather than the
observed one.The weighted score type is the exponent of the correlation.
#Computes the enrichment score of a miRNA set in miRNA listR2<-EnrichmentScore2(miR.list=sample(1:100),miR.set=c(39,28,37,38,11,3,34),
correl.vector=rep(0.04,100))
#show the resultR2$ES