Description Usage Arguments Details Author(s) See Also Examples
plotting ASE effects over a specific genomic region using Gviz functionality
1 2 3 4 5 6 7 8 9 10 11 12 13 |
x |
an ASEset object. |
type |
'fraction' or 'count' |
strand |
'+','-','*' or 'both'. This argument determines which strand is
plotted. See |
BamGAL |
GAlignmentsList covering the same genomic region as the ASEset |
GenomeAxisTrack |
include an genomic axis track |
trackNameDeAn |
trackname for deAnnotation track |
TxDb |
a TxDb object which provides annotation |
sizes |
vector with the sum 1. Describes the size of the tracks |
add |
add to existing plot |
verbose |
if set to TRUE it makes function more talkative |
... |
arguments passed on to barplot function |
The glocationplot methods visualises the distribution of ASE over a larger
region on one chromosome. It takes and ASEset object as well as additional
information on plot type (see gbarplot
), strand type (see
getAlleleCounts
), Annotation tracks are created from the Gviz
packageh. It is obviously important to make sure that the genome build used
is set correctly, e.g. 'hg19'.
sizes has to be of the same length as the number of tracks used.
Jesper R. Gadin
The ASEset
class which the
glocationplot function can be called up on.
1 2 3 4 5 6 7 | data(ASEset)
genome(ASEset) <- 'hg19'
glocationplot(ASEset,strand='+')
#for ASEsets with fewer SNPs the 'count' type plot is useful
glocationplot(ASEset,type='count',strand='+')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.