fitProbeDistribution: Fit Probe-Level Convolution Distributions

Description Usage Arguments Value Author(s) References

View source: R/fitProbeDistribution.R

Description

This function fits either a normal+exponential or normal+gamma convolution model to the probe-level intensities of a PBMExperiment. The normal+exponential convolution model is fit using limma::normexp.fit and the normal+gamma convolution model is fit using NormalGamma::normgam.fit. This function returns the model parameter estimates for each sample in a data.frame.

For more details on the estimated parameters, see the underlying functions.

Usage

1
2
3
4
5
6
fitProbeDistribution(
  pe,
  assay = SummarizedExperiment::assayNames(pe)[1],
  model = c("NormGam", "NormExp"),
  method = "mle"
)

Arguments

pe

a PBMExperiment object containing GPR intensity information.

assay

string name of the assay. (default = SummarizedExperiment::assayNames(pe)[1])

model

character string specifying model for fitting intensityies. Must be one of "NormGam", "NormExp". (default = "NormGam")

method

method used to estimate the parameters for normal+exponential model. See more details from limma::normexp.fit. (default = "mle")

Value

A data.frame with scans as rows and parameters in columns.

Author(s)

Dongyuan Song

References


pkimes/upbm documentation built on Oct. 17, 2020, 9:10 a.m.