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 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>


ScialdoneLab/MitoHEAR documentation built on June 11, 2022, 7:18 a.m.