VPSPulse Mirrors

High-Performance Open-Source Archive

How to find the best fitting distribution

How to find the best fitting distribution

library(peppwR)

The package has one function for estimating the fit of a range of distributions find_fits(). It takes a data frame with at least three columns:

df_path <- system.file("raw_data.csv", package="peppwr")
df <- readr::read_csv(df_path)

fits_df <- find_fits(df, id_col="pep_id", group_col="group", value_col="value")

It returns a nested dataframe with elements for AIC and LogLikelihood of fit of each peptide’s counts to a range of distributions.

The result can be plot with evaldist()

evaldist(fits_df)

Need mirroring services?
Contact our team at info@vpspulse.com.

Mirror powered by VPSpulse

Infrastructure sponsored by VPSPulse & Secure Payments by ArionPay.