Learn R Programming

DIscBIO (version 1.2.2)

KmeanOrder: Pseudo-time ordering based on k-means clusters

Description

This function takes the exact output of exprmclust function and construct Pseudo-time ordering by mapping all cells onto the path that connects cluster centers.

Usage

KmeanOrder(
  object,
  quiet = FALSE,
  export = FALSE,
  filename = "Cellular_pseudo-time_ordering_based_on_k-meansc-lusters"
)

# S4 method for DISCBIO KmeanOrder( object, quiet = FALSE, export = FALSE, filename = "Cellular_pseudo-time_ordering_based_on_k-meansc-lusters" )

Value

The DISCBIO-class object input with the kordering slot filled.

Arguments

object

DISCBIO class object.

quiet

if `TRUE`, suppresses intermediary output

export

if `TRUE`, exports order table to csv

filename

Name of the exported file (if `export=TRUE`)