Cell state hierarchy coordinates

hierarchy(m, quadrants = NULL, log.scale = T)

Arguments

m

matrix of cell state scores (cell rows; state columns)

quadrants

option to find pmax of a subset of columns and use this as a state quadrant. pass argument in the form of a list of character vectors (column names), where list elements should start from bottom and go from left to right. Default: NULL

log.scale

scale the hierarchy coordinates in log2 space. Default: T

Value

dataframe with X and Y coordinate values.

mutate