Rdocumentation
powered by
Learn R Programming
MSIseq (version 1.0.0)
find.mono.repeats: Find Mono-nucleotide Repeats
Description
This function reads in a file with multiple fasta records and find the mononucleotide repeats in the text.
Usage
find.mono.repeats(text, min.len = 5)
Arguments
text
The return object from function
read.fasta
.
min.len
The minimum length of the mononucleotide repeats searched by the function.
Value
A data frame with 3 columns that are the 3 variables listed above.
Details
This function find the mononucleotide repeats in the text and return a data frame with the following columns.
chr: a character vector that indicates the chromosome identifier with the "chr" prefix: "chr1", "chr2", ..., "chr22", "chrX", "chrY"
start: a numeric vector that indicates the start position in the chromosome
stop: a numeric vector that indicates the end position in the chromosome
See Also
read.fasta