makePairwiseOrder: Make pairwise order representation of a sample

Description Usage Arguments Value Examples

Description

Takes in a vector of gene expression values and returns a binary vector consisting of the pairwise rankings for the sample

Usage

1

Arguments

samp

A vector of gene expression values

Value

Binary vector of the pairwise ranking representation of the samples

Examples

1
2
samp <- c(1,3,2,1.5)
makePairwiseOrder(samp)

Example output

[1] 1 1 1 0 0 0

GRAPE documentation built on May 8, 2019, 1:03 a.m.