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