Last data update: 2014.03.03

R: add_rank_col
add_rank_colR Documentation

add_rank_col

Description

This method takes in input a dataframe containing the results of an siRNA screen. Then it adds a set of column that are useful for sorting to the dataframe. At the moment the following sorting columns are provided: - column with the median value of the siRNA score for each gene - columns that comes out from the execution of the RSA sorting method (Renate Konig et al.)

Usage

add_rank_col(screen, reverse=FALSE,  scoreColName="score", geneColName="GeneID")

Arguments

screen

data frame containing the results of the siRNA experiment.

reverse

boolean specifying the direction of the sorting (from the lowest scores to the highest score or vice versa)

scoreColName

character vector with the name of the column that contains the score of the screen

geneColName

character vector withname of the column that contains the names of the genes in the screen

Value

screen data frame with sorting columns added.

Author(s)

Andrea Franceschini

References

A probability-based approach for the analysis of large-scale RNAi screens. Renate Konig et al. Nature Methods 2007

Examples

 data(uuk_screen)
 uuk_screen_ranked = add_rank_col(uuk_screen[1:100,])

Results


R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(scsR)
Error in library(scsR) : there is no package called 'scsR'
Execution halted