sortMarker: Sort Markers

Description Usage Arguments Details Value

View source: R/sortMarker.r

Description

Sort markers and dye as they appear in the EPG.

Usage

1
sortMarker(data, kit, add.missing.levels = FALSE, debug = FALSE)

Arguments

data

data.frame containing a column 'Marker' and optionally 'Dye'.

kit

string or integer indicating kit.

add.missing.levels

logical, TRUE missing markers are added, FALSE missing markers are not added.

debug

logical indicating printing debug information.

Details

Change the order of factor levels for 'Marker' and 'Dye' according to 'kit'. Levels in data must be identical with kit information.

Value

data.frame with factor levels sorted according to 'kit'.


strvalidator documentation built on Aug. 12, 2017, 1:03 a.m.