ms_forcescaling: ms_force_scaling

Description Usage Arguments Value Examples

View source: R/ms_forcescaling.R

Description

Function to apply forced systematic scaling to CETSA melt curve dataset, i.e., to force scale the median of dataset to be same as the median of a subset of dataset (reference dataset)

Usage

1
2
3
4
5
6
7
8
9
ms_forcescaling(
  data,
  refcondition = NULL,
  nread = 10,
  reordertemp = FALSE,
  writefactortofile = TRUE,
  bottomlabel = "Temperature",
  filename = "CETSA_normalization_factors.txt"
)

Arguments

data

dataset to be scaled

refcondition

condition names to specify the reference dataset

nread

number of reading channels or sample treatements

reordertemp

whether to check and re-arrange the treatment temperatures in ascending order, using the readings from lowest temperature group as the reference to derive ratios, default set to FALSE since we typically label the CETSA melt curve samples from low to high temperatures in the TMT10

writefactortofile

whether to save a copy of scaling factors

bottomlabel

textual label at the bottom of the plot

filename

name for the file

Value

a dataframe

Examples

1
2
3
4
## Not run: 
LY_forcescaled <- ms_forcescaling(LY_cleaned)

## End(Not run)

nkdailingyun/mineCETSA documentation built on Feb. 27, 2021, 8:26 p.m.