viewTargetAlignment | R Documentation |
viewTargetAlignment
viewTargetAlignment(
m,
miRNA,
seqs = NULL,
flagBulgeMatches = FALSE,
p3.params = list(),
min3pMatch = 3L,
hideSingletons = FALSE,
UGsub = TRUE,
...,
outputType = c("print", "data.frame", "plot", "ggplot")
)
m |
A GRanges of length 1 giving the information for a given match, as
produced by |
miRNA |
A miRNA sequence, or a |
seqs |
The sequences corresponding to the seqnames of 'm'. Not needed if 'm' contains the target sequences. |
flagBulgeMatches |
Logical; whether to flag matches inside the bulge (default FALSE) |
p3.params |
See |
min3pMatch |
The minimum 3' alignment for any to be plotted |
hideSingletons |
Logical; whether to hide isolated single base-pair matches |
UGsub |
Logical; whether to show U-G matches |
... |
Passed to 'text' if 'outputType="plot"'. |
outputType |
Either 'print' (default, prints to console), 'data.frame', or 'plot'. |
Returns nothing 'outputType="print"'. If 'outputType="data.frame"', returns a data.frame containing the alignment strings; if 'outputType="ggplot"' returns a 'ggplot' object.
data(SampleKdModel)
seq <- c(seq1="CGACCCCTATCACGTCCGCAGCATTAAAT")
m <- findSeedMatches(seq, SampleKdModel, verbose=FALSE)
viewTargetAlignment(m, miRNA=SampleKdModel, seqs=seq)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.