RankGene: gene pair order

Usage Arguments Examples

Usage

1
RankGene(kk, k, HamD, geneName, n)

Arguments

kk
k
HamD
geneName
n

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--	or do  help(data=index)  for the standard data sets.

## The function is currently defined as
function (kk, k, HamD, geneName, n)
{
    x = HamD[k, ]
    xrank = rank(-x)
    MNNgene = geneName[xrank <= k & x > n]
    return(MNNgene)
  }

Fang0828/SCMarker documentation built on May 13, 2019, 12:51 p.m.