fit-distr: Fit weighted and unweighted Cauchy and Normal distributions

Description Usage Arguments Value Author(s) See Also Examples

Description

Functions to fit the probability density functions on ratio distribution.

Usage

1
2
3
4
5
6

Arguments

x

Ratios

weights

Weights

portion

Central portion of data to take for computation

n

number of sampling steps

Value

Cauchy,Norm

Author(s)

Florian P Breitwieser, Jacques Colinge.

See Also

proteinRatios

Examples

 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)

isobar documentation built on Nov. 8, 2020, 7:48 p.m.