dot-calcMetageneStat: Calculate metagene column-wise summary statistics

.calcMetageneStatR Documentation

Calculate metagene column-wise summary statistics

Description

Calculate metagene column-wise summary statistics

Usage

.calcMetageneStat(metagene, metageneFun, mode)

Arguments

metagene

Either a single matrix or a list of two matrices.

metageneFun

A character variable of either 'mean' or 'median' indicating how metagene should be summarized.

mode

A numeric variable of either 1 or 2.

Value

A data.frame with two columns, 'type' and 'value'. If mode == 1, 'type' column will be filled with 'Region'. If mode == 2, 'type' column will be filled with 'Start' and 'End'. 'value' column is the column summary statistics for each position.


nzhang89/RiboSeeker documentation built on April 15, 2022, 10:18 a.m.