MENU | |||||
---|---|---|---|---|---|
R'MES | general view | rmes.gaussien | rmes.poisson.composee | rmes.poisson | |
rmes.gfam | rmes.format | rmes.histo | rmes.compar |
|
Splus Function: rmes.pyramide
Graphical Display of Results from R'MES Programs. |
---|
Description | Usage | Required Arguments | Optional Arguments | Note | Details | Examples |
The Splus function rmes.pyramide displays simultaneously the statistics of words of a given length and their sub-words in a pyramid of gray-level. The graphical display is a PostScript file.
NOTE: Pyramids of word families cannot be done.
rmes.pyramide(prefix, dessin, phase=0, lg.mot, nb.mot, neg=F, debut=1, rang=F, nb.col, lang="fr")
In this version, the environment variable $RMES_DIR must be set to the pathname
of the installation directory of the system.
A word of length lg.mot is represented by a pyramid of
lg.mot-lg.min+1 stages, where lg.min is the minimal
word length analyzed in the file prefix.phase. Let us suppose
lg.min=3.
The last stage is composed of a unique square colored according to the
value of the statistic (or to the value of its rank when the
argument rang is TRUE).
The stage beneath is made of two squares corresponding
to the 2 sub-words of length lg.mot-1 of the word.
They are colored according to the value of their statistics
(or to their ranks when the argument rang is TRUE).
And so on, to the first stage made of lg.mot-2 squares
corresponding to the lg.mot-2 sub-words of length 3 of
the word.
For a given length, the words of null statistics are colored in white. The words with maximal statistics (positive and negative) are colored in black. A uniform gray-level is used between these extrema. Each stage has its own gray-level.
To distinguish the negative statistics from the positive ones,
the sign of the statistic of the upper word is put above
each pyramid and the symbol O is added in the middle of the squares
that correspond to sub-words with statistic of opposite sign.
The statistic of the sub-word that could not be calculated is symbolized by
"x" in the corresponding square.
1- Pyramids of 6-words (starting by the most under-represented one) in the
ecomori sequence under maximal models.
The plot is stored in the PostScript file ecomori-pyr.ps
and viewed by "ghostview" (205 pages).
The file corresponding to the input prefix
ecomori.gaussien.mart.3-6_max have
been previously obtained by rmes.gaussien
(example 4
in rmes.gaussien).
> rmes.pyramide("ecomori.gaussien.mart.3-6_max", dessin="ecomori-pyr.ps", lg.mot=6, neg=T, nb.col=4)2- Pyramids of the 20 6-words with smallest statistics (negative) from the 10th smallest value. The previous file ecomori-pyr.ps will be replaced.
> rmes.pyramide("ecomori.gaussien.mart.3-6_max", dessin="ecomori-pyr.ps", lg.mot=6, neg=T, nb.mot=20, debut=10, lang="en")3- Pyramids of the most over-represented 6-words in phase 3 of a coding DNA sequence from E. coli (coli-codant) under M2_3. The plot is stored in the PostScript file coli.6.pyr3.ps. The four files corresponding to the input prefix coli-codant.gaussien.4-6_2 have been previously obtained by rmes.gaussien (see example 5 in rmes.gaussien).
> rmes.pyramide("coli-codant.gaussien.4-6_2", phase=3, lg.mot=6, dessin="coli.6.pyr3.ps", nb.col=3, nb.mot=12)