View source: R/long_distance_df.R
lddf_work | R Documentation |
lddf_work
Used internally by long_distance_df()
. I recommend
you use that function unless you really know what you're doing. This function
does the actual gathering, spreading, and joining associated with making the
lddf, but without checking if the distance matrix is sensible or removing
diagonals and repeats. Use this function if you know exactly what you want
and have trimmed your distance matrix down to only what you know you need.
Good for permutation tests.
lddf_work(
dmat,
metadat,
idcol = "X.SampleID",
suff = c("1", "2"),
distcol = "Distance"
)
dmat |
A distance matrix or other diagonal matrix object with sample names as row and column names. |
metadat |
A data frame or data frame-like object with the data set's metadata |
idcol |
( |
suff |
( |
distcol |
( |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.