plot2dTppFit {TPP2D} | R Documentation

## Plot H0 or H1 fit of 2D thermal profile intensities of a protein of choice

### Description

Plot H0 or H1 fit of 2D thermal profile intensities of a protein of choice

### Usage

    plot2dTppFit(df, name, model_type = "H0", optim_fun = .min_RSS_h0,
      optim_fun_2 = NULL, maxit = 500, xlab = "-log10(conc.)",
      ylab = "log2(summed intensities)")

### Arguments

`df` | tidy data frame of a 2D-TPP dataset
`name` | gene name (clustername) of protein that should be visualized
`model_type` | character string indicating whether the "H0" or the "H1" model should be fitted
`optim_fun` | optimization function that should be used for fitting either the H0 or H1 model
`optim_fun_2` | optional additional optimization function that will be run with paramters retrieved from optim_fun and should be used for fitting the H1 model with the trimmed sum model, default is NULL
`maxit` | maximal number of iterations the optimization should be given, default is set to 500
`xlab` | character string of x-axis label of plot
`ylab` | character string of y-axis label of plot

### Value

A ggplot displaying the thermal profile of a protein of choice in a datset of choice

### Examples

    data("simulated_cell_extract_df")
    plot2dTppProfile(simulated_cell_extract_df, "protein1")

[Package TPP2D version 1.2.3 Index]