lm_method: LM method

Description Usage Arguments Value Examples

View source: R/lm_method.R

Description

Simple linear regression and return output in standardised form. Requires a data frame containing a column named gene and a column containing pIC50 data whose name can be specified using the 'pIC50_col' parameter

Usage

1
lm_method(df, pIC50_col = "pIC50")

Arguments

df

data frame including gene and pIC50 columns

pIC50_col

name of the pIC50 column (default is pIC50)

Value

data frame of results

Examples

1
2
3
4
5
6
7
data("pIC50_data_small")
lm_method(pIC50_data_small)

data("sim_ex1_data")
dat <- sim_ex1_data$data[[1]]
dat
lm_method(dat)

chapmandu2/pgxsim documentation built on May 6, 2019, 10:13 a.m.