geneSmoothReduce: Gene Smooth: Reduce dimensions of Smooth Fit

Description Usage Arguments Value

View source: R/gene-smooth.R

Description

When multiple windows have the same pseudotime, and geneSmoothFit is run with method="spline", a single output point will be created, creating smoothed expression data with different dimensions from the original expression data. This function produces 'reduced' data frames of the same dimensions and loads them into the smoothed.fit object by aggregating windows with the same pseudotime.

Usage

1
geneSmoothReduce(smoothed.fit, agg.func = mean)

Arguments

smoothed.fit

(List) Output from geneSmoothFit

agg.func

(function) Function to use to aggregate columns with same pseudotime. Default is mean.

Value

(List) smoothed.fit input with $mean.expression.red and $scaled.expression.red added.


farrellja/URD documentation built on June 17, 2020, 4:48 a.m.