plotAlongChromLegend       package:tilingArray       R Documentation

_P_l_o_t _a _l_e_g_e_n_d _f_o_r _g_e_n_o_m_i_c _f_e_a_t_u_r_e_s

_D_e_s_c_r_i_p_t_i_o_n:

     Plot a legend for genomic features

_U_s_a_g_e:

     plotAlongChromLegend(vpr, nr=2, 
         featureColorScheme=1, 
         featureExclude=c("chromosome", "nucleotide_match", "insertion"),
         mainLegend, cexLegend=0.35, cexMain=1)

_A_r_g_u_m_e_n_t_s:

     vpr: vector specifying where to place the legend in figure (set up
          by using the  'viewport' function from the grid package. 
          When this function is called directly  by the user this
          argument should be left missing.

      nr: numeric scalar, specifying the number of rows to plot legend
          over  (default value is 2).

featureColorScheme: numeric scalar, used to select a color scheme for
          the  boxes representing genomic features such as coding
          sequences, ncRNAs etc.  Currently the only value supported is
          1.

featureExclude: character vector of names of feature types (in 'gff')
          that should not be plotted. Default is '"chromosome"',
          '"nucleotide_match"' and  '"insertion"'.  Additional possible
          candidates include: '"ARS"',  '"repeat_region"',
          '"repeat_family"' and  '"nc_primary_transcript"'.

mainLegend: character vector specifying legend title.

cexLegend: numeric scalar specifying the magnification to be used for
          the legend  text relative to the current text size.

 cexMain: numeric scalar specifying the magnification to be used for
          the legend  title relative to the current text size.

_D_e_t_a_i_l_s:

     This function is usually called by 'plotAlongChrom' when
     'doLegend' is TRUE.  It can also be called directly by the user to
     produce a separate legend.  

     The following features are included in the legend (unless excluded
     using the 'featuredExclude' option): '"chromosome"',
     '"nucleotide_match"', '"pseudogene"', '"uORF"',
     '"nc_primary_transcript"', '"region"', '"repeat_family"',
     '"repeat_region"', '"transposable_element"',
     '"transposable_element_gene"', '"ARS"', '"centromere"',
     '"telomere"', '"insertion"', '"CDS"', '"CDS_dubious"', '"ncRNA"',
     '"tRNA"', '"snRNA"', '"rRNA"', '"snoRNA"', '"binding_site"' and
     '"TF_binding_site"'.

_A_u_t_h_o_r(_s):

     Wolfgang Huber <huber@ebi.ac.uk>

_E_x_a_m_p_l_e_s:

     ## plotAlongChromLegend(mainLegend="Legend")

