enve.df2dist.list {enveomics.R} | R Documentation |
Enveomics: Data Frame to Dist (List)
Description
Transform a dataframe (or coercible object, like a table) into a list of dist objects, one per group.
Usage
enve.df2dist.list(
x,
groups,
obj1.index = 1,
obj2.index = 2,
dist.index = 3,
empty.rm = TRUE,
...
)
Arguments
x |
A dataframe (or coercible object) with at least three columns:
|
groups |
Named array where the IDs correspond to the object IDs, and the values correspond to the group. |
obj1.index |
Index of the column containing the ID of the object 1. |
obj2.index |
Index of the column containing the ID of the object 2. |
dist.index |
Index of the column containing the distance. |
empty.rm |
Remove incomplete matrices. |
... |
Any other parameters supported by |
Value
Returns a list of dist objects.
Author(s)
Luis M. Rodriguez-R [aut, cre]
[Package enveomics.R version 1.9.1 Index]