df2fitmatrix: matrix for lmFit from dataframe

Description Usage Arguments Value Author(s) See Also Examples

View source: R/df2fitmatrix.R

Description

converts a dataframe into the right format for lmFit function

Usage

1

Arguments

df

dataframe from cellHTS2df function

Value

A matrix with the genepairs as rows and the replicates as columns. This matrix is in the right format for the lmFit.

Author(s)

Elin Axelsson

See Also

df2lmFit

Examples

1
2
3
4
5
6
7
data(screen1_raw)
df = cellHTS2df(screen1_raw,neutral="Fluc")
df = weightDf(df)
lmm = lmmain(df)
df = updateDf(df,lmm)
mfit = df2fitmatrix(df)
head(mfit)

coRNAi documentation built on Nov. 17, 2017, 11:14 a.m.