slim
slims data frames with GeneMapper data.slim(data, fix = NULL, stack = NULL, keepAllFixed = TRUE,
debug = FALSE)
slim
repeated columns into single columns, also
see unslim()
. For example, the following data
frame:
Sample.Name|Marker|Allele.1|Allele.2|Size.1|Size.2|Data.Point..
using this command: slim(data,
fix=c("Sample.Name","Marker"), stack=c("Allele","Size"))
would result in this data frame (NB! 'Data.Point' is
lost): Sample.Name|Marker|Allele|Size