Skip to contents

# order_param

Source: `R/misc.R`
`order_param.Rd`

This function helps to re-oder the levels of a variable to allow a personalized order for plotting.

## Usage

    order_param(fcd, type, cluster_slot, param, new_order)

## Arguments

fcd

  flow cytometry dataset.

type

  This function can be used to re-order either a metadata annotation or a clustering label (metacluster).

cluster_slot

  string specifying which clustering slot to use to find variable specified in param. Necessary only if type is "cluster".

param

  Parameter to reorder.

new_order

  A vector describing the new order asigned to the labels.

## Value

Returns a condor object with a reordered variable

## Details

order_param