Learn R Programming

coRNAi (version 1.22.0)

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

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

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.

Value

A data frame with an added column 'weight'

Details

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

Examples

Run this code
data(screen1_raw)
df = cellHTS2df(screen1_raw,neutral="Fluc")
##stupid example 
df = weightDf(df,exclude="controlN2")
head(df)

Run the code above in your browser using DataLab