Last data update: 2014.03.03

R: add_seed
add_seedR Documentation

add_seed

Description

This method takes in input a dataframe containing the results of an siRNA screen. This screen must contain the siRNA sequences in a dedicated column (the sequences have to be provided in the guide/antisense orientation). Then it adds a column with the seed of the siRNA sequences.

Usage

add_seed(df, seqColName="siRNA_seq", seedLength=7, startPosition=2)

Arguments

df

Dataframe containing the results of the siRNA screen.

seqColName

character vector with the name of the column that contains the siRNA sequences (the sequences have to be provided in the guide/antisense orientation).

seedLength

length of the seed in nucleotides (by default 7 bases) (integer)

startPosition

position in the siRNA sequence where the seed starts (by default position 2) (integer))

Value

screen data frame with the seed column added.

Author(s)

Andrea Franceschini

Examples

 data(uuk_screen)
 seed_uuk_screen = add_seed(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