calcDistT: Calculate total distance in given dataset
Description
This function calculates centroid of all samples in a given dataset and sums
distances between the centroid and each sample. Euclidean distances are used.
Usage
calcDistT(df)
Arguments
df
A data frame with the first column indicating individual identity.