Sort markers and dye as they appear in the EPG.
sortMarker(data, kit, add.missing.levels = FALSE, debug = FALSE)
data.frame containing a column 'Marker' and optionally 'Dye'.
string or integer indicating kit.
logical, TRUE missing markers are added, FALSE missing markers are not added.
logical indicating printing debug information.
data.frame with factor levels sorted according to 'kit'.
Change the order of factor levels for 'Marker' and 'Dye' according to 'kit'. Levels in data must be identical with kit information.