Description Usage Arguments Value
A script that validates that data inputs are correct, and returns a X distance and Y distance matrix for MGC.
1 2 3 4 5 6 7 8 9 10 11 12 | mgc.validator(
X,
Y,
is.dist.X = FALSE,
dist.xfm.X = mgc.distance,
dist.params.X = list(method = "euclidean"),
dist.return.X = NULL,
is.dist.Y = FALSE,
dist.xfm.Y = mgc.distance,
dist.params.Y = list(method = "euclidean"),
dist.return.Y = NULL
)
|
X |
is interpreted as:
|
Y |
|
is.dist.X |
a boolean indicating whether your |
dist.xfm.X |
if |
dist.params.X |
a list of trailing arguments to pass to the distance function specified in |
dist.return.X |
the return argument for the specified
|
is.dist.Y |
a boolean indicating whether your |
dist.xfm.Y |
if |
dist.params.Y |
a list of trailing arguments to pass to the distance function specified in |
dist.return.Y |
the return argument for the specified
|
A list containing the following:
|
The distance matrix, as a |
|
the sample ids, as a |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.