Description Usage Arguments Value Author(s) See Also Examples
Functions to fit the probability density functions on ratio distribution.
1 2 3 4 5 6 | fitCauchy(x)
fitNorm(x, portion = 0.75)
fitWeightedNorm(x, weights)
fitNormalCauchyMixture(x)
fitGaussianMixture(x, n = 500)
fitTlsd(x)
|
x |
Ratios |
weights |
Weights |
portion |
Central portion of data to take for computation |
n |
number of sampling steps |
Cauchy
,Norm
Florian P Breitwieser, Jacques Colinge.
proteinRatios
1 2 3 4 5 6 7 8 9 10 11 12 | library(distr)
data(ibspiked_set1)
data(noise.model.hcd)
# calculate protein ratios of Trypsin and CERU_HUMAN. Note: this is only
# for illustration purposes. For estimation of sample variability, data
# from all protein should be used
pr <- proteinRatios(ibspiked_set1,noise.model=noise.model.hcd,
cl=as.character(c(1,1,2,2)),combn.method="intraclass",protein=c("136429","P00450"))
# fit a Cauchy distribution
ratiodistr <- fitCauchy(pr$lratio)
plot(ratiodistr)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.