get_distribution: get_distribution

View source: R/other_functions.R

get_distributionR Documentation

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.

Author(s)

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


MitoHEAR documentation built on March 18, 2022, 6:47 p.m.