| remove.isolates | R Documentation |
Remove Isolates
Description
A function to remove isolates from a dataset, given a data matrix or a distance matrix.
Usage
remove.isolates(X, Y, is.dist = FALSE)
Arguments
X |
is interpreted as:
- a
[n x n] distance matrix X is a square matrix with zeros on diagonal for n samples.
- a
[n x d] data matrix X is a data matrix with n samples in d dimensions.
|
Y |
[n] a vector containing the sample ids for our n samples.
|
is.dist |
a boolean indicating whether your X input is a distance matrix or not. Defaults to FALSE.
|
Author(s)
Eric Bridgeford