Calculates the similarity of a group within a population by applying the function specified by group_sim to the pairwise similarities of group members.
get_sim(pop_sim, ...)# S3 method for integer
get_sim(pop_sim, ...)
# S3 method for numeric
get_sim(pop_sim, group = seq(length(pop_sim)), ...)
# S3 method for matrix
get_sim(pop_sim, group = seq(nrow(pop_sim)), ...)
# S3 method for sim_index
get_sim(pop_sim, group = seq(pop_sim[["N"]]), ...)
# S3 method for default
get_sim(pop_sim, group, type, group_sim = "average", ...)
Numeric value of group similarity
An object representing the similarities of an indexed population of objects.
Other arguments to be passed to get_sim.
Character or integer vector specifying names/indices of subgroup for which to calculate a group similarity p-value.
Either "matrix", "sim_index" or "numeric" - the type of the pop_sim object.
String Either "average" or "min", determining how to calculate the similarity of a group of term sets over all pairwise combinations of group members
get_sim_p sample_group_sim