Learn R Programming

scsR (version 1.8.0)

add_seed: 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.

Examples

Run this code
 data(uuk_screen)
 seed_uuk_screen = add_seed(uuk_screen[1:100,])

Run the code above in your browser using DataLab