This function helps to re-oder the levels of a variable to allow a personalized order for plotting.
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.