slipped: Predicting slipped motif(s)

Description Usage Arguments Details Value Author(s) References Examples

View source: R/slipped.R

Description

This function predicts slipped motif(s) in 'x' in DNA. DNA sequence can be provided in raw or fasta format or as GenBank accession number(s). Internet is needed to connect to GenBank database, if accession number(s) is given as argument.

Usage

1
slipped(x, xformat = "default")

Arguments

x

DNA sequence(s) in raw format or a fasta file or a GenBank accession number(s); from which slipped motif(s) will be predicted. If the fasta file name does not contain an absolute path, the file name is relative to the current working directory.

xformat

a character string specifying the format of x : default (raw), fasta, GenBank (GenBank accession number(s)).

Details

This function predicts slipped motif(s) in DNA sequences and provide the position, sequence and length of the predicted motif(s). If any motif is predicted, the degree of likeliness for the motif to be formed is computed and scored as ** (more likely) or as * (less likely).

Value

A dataframe of slipped motif(s) position, sequence, length and likeliness. If more than one DNA sequence is provided as argument, an input ID is returned for motif(s) predicted from each input sequence.

Author(s)

Hannah O. Ajoge

References

paper under review

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
 ## Predicting slipped motif(s) from raw DNA sequences
E1 <- c("TCTTACTGTGACTGTGGAAT", "taggtgctgggaggtagagacaggatatcct")
slipped(E1)

## Predicting slipped motif(s) from DNA sequences in fasta file
## Not run: slipped(x="Example.fasta", xformat = "fasta")

## Predicting slipped motif(s) from DNA sequences,
## using GenBank accession numbers.
## Internet connectivity is needed for this to work.
## Not run: slipped(c("BH114913", "AY611035"), xformat = "GenBank")

gquad documentation built on May 2, 2019, 12:19 p.m.

Related to slipped in gquad...