fillNA: Fill large spaces in profiles with NA

Description Usage Arguments Value Author(s)

View source: R/getProfilesMiddle.R

Description

This function fills spaces in the profiles, that exceed a given distance. It is called by getProfiles, if method ”middle” is chosen.

Usage

1
fillNA(distribution, mapping, upstream, downstream, gffAnno, distance, spacing)

Arguments

distribution

a list containing the profiles for each feature

mapping

a mapping of, which was constructed by the mapFeatures function

gffAnno

a data frame containing the annotation of the features of interest

upstream

how many basepairs upstream of the feature start (feature start on the crick strand is end in gffAnno) should be taken.

downstream

how many basepairs downtream of the feature start (feature end on the crick strand is start in gffAnno) should be taken.

distance

spaces, exceeding this distance are filled with NA

spacing

probe spacing on the chip

Value

a list with one entry for each feature.

Author(s)

Benedikt Zacher zacher@lmb.uni-muenchen.de


Starr documentation built on April 28, 2020, 7:52 p.m.