View source: R/electrophoresis.R
| get.x.name | R Documentation |
This function takes an electrophoresis object and returns the name of the x-variable that was used to fit the mobility model.
get.x.name(electrophoresis, raw = FALSE, allow.multiple = FALSE)
electrophoresis |
An |
raw |
Whether to return the name of the raw variable instead of the aligned variable. |
allow.multiple |
Whether to allow multiple raw variables (data combined from multiple platforms). |
If 'raw == FALSE' the result should only be either "aligned time" for Bioanalyzer data or "relative.distance" for TapeStation data. If 'raw == TRUE' the result should be "time" or "distance".
A character giving the name of the x-variable.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.