MitoHEAR (version 0.1.0)

get_distribution: get_distribution

Description

get_distribution

Usage

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 numeric vector with length equal to n_col of matrix where each element contains the result of the operation defined by FUNCTION.