make_enrichment_profilefun: Generate the default function for metagene enrichment...

Description Usage Arguments Value See Also

View source: R/metagene.R

Description

Position-wise meta-enrichment is calculated asE_i = sum(sample[,i]) / sum(sample[,i]) where i is the position and g the gene.

Usage

1
make_enrichment_profilefun(data, sample1, sample2)

Arguments

data

A serp_data object

sample1

Name of the first sample (the numerator). If missing, the default sample1 of the data set will be used.

sample2

Name of the second sample (the denominator). If missing, the default sample2 of the data set will be used.

Value

A function that can be passed as profilefun to metagene_profiles

See Also

defaults, metagene_profiles, make_average_profilefun, make_expression_normalizefun


ilia-kats/RiboSeqTools documentation built on Oct. 5, 2020, 7:41 p.m.