.fitModelSingleProtein {MSstats} | R Documentation

## Fit model and perform group comparison for a single protein

### Description

Fit model and perform group comparison for a single protein

### Usage

    .fitModelSingleProtein(
      input,
      contrast_matrix,
      has_tech_replicates,
      is_single_subject,
      repeated,
      groups,
      samples_info,
      save_fitted_models,
      has_imputed
    )

### Arguments

`input` | data.table of summarized data
`contrast_matrix` | contrast matrix
`has_tech_replicates` | if TRUE, there are technical replicates
`is_single_subject` | if TRUE, experiment consists of a single subject
`repeated` | if TRUE, experiment consists of repeated measurements
`groups` | unique labels for experimental conditions
`samples_info` | number of runs per group
`save_fitted_models` | if TRUE, fitted model will be saved. If FALSE, it will be replaced by NULL
`has_imputed` | if TRUE, missing values have been imputed by dataProcess

[Package MSstats version 4.0.1 Index]