| motif.count | R Documentation | 
Find a specific motif or a sequence of motifs within genomic sequences.
motif.count(seq.file, motif, as.ratio = FALSE)
seq.file | 
 path to the genomic sequecne file of interest (e.g. LTR TE seqs predicted by
  | 
motif | 
 a character string or vector of strings which shall be counted within each sequence.  | 
as.ratio | 
 shall count values be returned as asbolute frequency (count value) or as relative frequency (percentage).  | 
Hajk-Georg Drost
# find number of "CG" motifs in predicted LTR transposons
motif.count(seq.file = system.file("LTRseqs.fas",package = "LTRpred"), 
            motif    = "CG")
            
# find number of "CG" motifs in predicted LTR transposons: rel. frequency
motif.count(seq.file = system.file("LTRseqs.fas",package = "LTRpred"), 
            motif    = "CG",
            as.ratio = TRUE)             
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.