get_distribution

get_distribution(heteroplasmy_matrix, FUNCTION, index = NULL)

Arguments

heteroplasmy_matrix

Third element returned by get_heteroplasmy.

FUNCTION

A character specifying the function to be applied on each column of matrix. The possible values are: mean,max,min,median and sum.

index

index returned by get_heteroplasmy.

Value

It returns a vector with length equal to n_col of matrixwhere each element contains the result of the operation defined by FUNCTION.

Author

Gabriele Lubatti <gabriele.lubatti@helmholtz-muenchen.de>