decideOrder: 2-step procedure to decide ordering

Description Usage Arguments Value

View source: R/aheatmap.R

Description

when order is specified, use this order; otherwise, try to use clustering; if no clustering is explicitely specified, do not do any ordering

Usage

1
decideOrder(ord, mat, distance, method, direction = "row")

Arguments

ord

order vector

mat

a matrix

distance

clustering distance

direction

when specified as row, do clustering on rows and calculate row ordering; when specified as column, do the same thing but with trnasformed mat

Value

a permutation


nickytong/GenAnalysis documentation built on July 20, 2019, 8:57 a.m.