weightDf: Function to indicate which data points should be involved in...

Description Usage Arguments Details Value Author(s) Examples

View source: R/weightDf.R

Description

Function to do add weights to the data points in a data frame. At the time being 0 means excluded and everything >0 means included.

Usage

1
weightDf(df, exclude = c("double", "controlN2", "controlP2", "controlP1N1", "controlN1"))

Arguments

df

data frame from cellHTS2df

exclude

which type of data should be excluded from analysis.

Details

See also vignette for information about different "Type" types.

Value

A data frame with an added column 'weight'

Author(s)

Elin Axelsson

Examples

1
2
3
4
5
data(screen1_raw)
df = cellHTS2df(screen1_raw,neutral="Fluc")
##stupid example 
df = weightDf(df,exclude="controlN2")
head(df)

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