Last data update: 2014.03.03

R: check_consistency
check_consistencyR Documentation

check_consistency

Description

This method takes an siRNA screen as input and check its consistency (i.e. check that the format of the data is suitable for the usage with our scsR package). The method prints meaningful warnings for every inconsistency that can be detected

Usage


check_consistency(screen, scoreColName = "score", geneColName = "GeneID",
                                  seqColName="siRNA_seq")

Arguments

screen

Dataframe containing the results of the siRNA scree

scoreColName

name of the column that contains the score of the screen (character vector)

geneColName

name of the column that contains the gene identifier of the screen (character vector)

seqColName

name of the column that contains the siRNA sequences in the screen. (the sequences have to be provided in the guide/antisense orientation and each sequence must be in the format of a character vector, i.e. a simple string). (character vector)

Value

return the data frame passed in input with possible consistency corrections.

Author(s)

Andrea Franceschini

Examples

data(uuk_screen)
uuk_screen <- check_consistency(uuk_screen)

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