Description Usage Arguments Value Note Author(s) See Also Examples
Get data for calculating the distance matrix
1 2 | get_data_clustering(data, profile_type, var1_aggregate_by,
var2_aggregate_by)
|
data |
processed profile data |
profile_type |
type of data used for calculating the distance matrix. Either "binary" (consider only the presence/absence status of orthlogs), or "var1"/"var2" for taking values of the additional variables into account. |
var1_aggregate_by |
aggregate method for VAR1 (min, max, mean or median) |
var2_aggregate_by |
aggregate method for VAR2 (min, max, mean or median) |
A wide dataframe contains values for calculating distance matrix.
Documented by Vinh Tran (tran@bio.uni-frankfurt.de)
Carla Mölbert (carla.moelbert@gmx.de)
1 2 3 4 5 6 | data("full_processed_profile", package="phyloprofile")
data <- full_processed_profile
profile_type <- "binary"
var1_aggregate_by <- "max"
var2_aggregate_by <- "mean"
get_data_clustering(data, profile_type, var1_aggregate_by, var2_aggregate_by)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.