MENU | |||||
---|---|---|---|---|---|
R'MES | general view | rmes.gaussien | rmes.poisson.composee | rmes.poisson | |
rmes.gfam | rmes.format | rmes.histo |
|
rmes.pyramide |
Splus Function: rmes.compar
Graphical Comparison of Results from R'MES Programs. |
---|
Description | Usage | Required Arguments | Optional Arguments | Details | Note | Examples | Axis Labels |
Interactive function to graphically compare exceptional words
or families of words either
under two models, or in two sequences, or in two phases, or using two
count approximations or using two algorithms,
from R'MES results. The Splus function rmes.compar produces a scatter plot on which each point corresponds to a word or a family of words.
If no graphical device is active, X11 is used.
Otherwise, the current graphical device is used.
rmes.compar (don1, don2, lg.mot, mod1, mod2, ident=NULL, filtre=NULL, comptage=F, esperance=F, sigma2=F, conjugue=F,lang="fr")
A menu allows the user to modify the displays and to store them.
Select item 7 (screen display) or 8 (print) after each selection to make the new display appearing.
In the following, replace the occurrences of "word" by "family of words", in case of
families of words.
The choices are:
0 - QUIT
1 - SELECT A RADIUS CIRCLE
to define a circle of center (0, 0) inside which points
are not represented.
A null radius deletes the preceding circle.
2 - SELECT A WINDOW
to specify the minimal and maximal bounds of the display window.
When one of the bounds is not specified, the current bound is used.
The value NA implies the drop-out of a preceding value.
3 - SELECT A KIND OF DISPLAY
NOTE: when some words have been selected (see 6 below)
and option NUMBERS or NAMES have been chosen,
the numbers or names only appear above the selected points.
4 - CHANGE THE SIZE
5 - CHANGE THE SCALE
6 - IDENTIFY WORDS (OR FAMILIES)
7 - SCREEN DISPLAY
8 - PRINT
to choose how the words are represented.
A sub-menu appears with the following choices:
1- POINTS: representation by simple points.
A null reply to this sub-menu means that the previous choice is kept.
2- NUMBERS: some numbers are put above each point.
The correspondance between the numbers and the list of the words
appears in the dialog window.
3- NAMES: the word names are put above each point.
to specify a character expansion relative to the device's standard size.
For example, 2 implies that characters are twice as big as normal.
Reply 1 to reset the normal size.
to specify if the scales on the x-axis and the y-axis should be different
when no window bounds are mentionned.
to modify or reset a list of words (or families of words)
to be specifically identified.
A sub-menu appears with the following choices:
1 - MODIFICATION: to specify the words to add
or to delete to the list, by clicking on the left button of
the mouse on the corresponding points (or very near).
The names of the selected words appear beside the
corresponding points.
Clicking on the middle button of the mouse ends this
process.
2 - RESET: to reset the list of selected
words to a null-list or to the list introduced by the
argument ident.
A null reply implies the go-out from this menu.
to display the plot on the current graphical device unit
(X11 by default).
to store the plot in a PostScript file.
Its name is then asked to the user.
In order to filter or to identify more easily palindromes
or overlapping words, several files containing the list of
these word indices are provided in the directory
EXMOT into the installation directory of
R'MES.
1- Comparison of the exceptional 3-words in the phage lambda
genome and the pt7 genome under M1.
The input files lambda.gaussien.3_1.0 and
pt7.gaussien.3_1.0 have been previously obtained by
rmes.gaussien (exemple 1 in rmes.gaussien).
> rmes.compar("lambda.gaussien.3_1.0","pt7.gaussien.3_1.0",lg.mot=3,lang="en")
2- Comparison of the exceptional 4-words in phase 1 and in phase 3 of
a coding DNA sequence of E. coli (coli-codant)
under M2_3.
The input files coli-codant.gaussien.4_2.1 and
coli-codant.gaussien.4_2.3 have been previously
obtained by rmes.gaussien
(example 2
in rmes.gaussien).
> rmes.compar("coli-codant.gaussien.4_2.1","coli-codant.gaussien.4_2.3",
lg.mot=4)
3- Comparison of the exceptional 4-words in the ecomori
sequence under M1 and M2. All the palindromes of length 4 are
identified.
The input files ecomori.gaussien.4_1.0 and
ecomori.gaussien.4_2.0 have been previously
obtained by rmes.gaussien
(example 3
in rmes.gaussien).
> mot.pal.4 <- c(16,28,40,52,79,91,103,115,142,154,166,178,205,217,229,241)
> rmes.compar("ecomori.gaussien.4_1.0", "ecomori.gaussien.4_2.0",
lg.mot=4, ident=mot.pal.4)
4- Comparison of the exceptional palindromes of length 4 in the
ecomori sequence under M1 and M2. Only the palindromes
are represented.
> rmes.compar("ecomori.gaussien.4_1.0", "ecomori.gaussien.4_2.0",
lg.mot=4, filtre=mot.pal.4)
5- Idem but only the words for statistics values greater than 6 are represented.
> rmes.compar("ecomori.gaussien.4_1.0", "ecomori.gaussien.4_2.0",
filtre="val.stat.1>6 & val.stat.2>6")
6- Comparison of the exceptional families of the family file fam.xnxxxxxx in the sequence hf-rep (the replication genome of H. Influenzae) and hf-rep-sans-uptake (the replication genome of H. Influenzae without the uptake sequence aagtgcggt and its complementary).
The input files hf-rep.xnxxxxxx_1.0 and
hf-rep-sans-uptake.xnxxxxxx_1.0 have been previously
obtained by rmes.gaussien
(example 7
in rmes.gaussien).
> rmes.compar("hf-rep.xnxxxxxx_1.0","hf-rep-sans-uptake.xnxxxxxx_1.0", ident="gntggtgg",lang="en")
The table Axis Labels gives the link between the axis labels in rmes.compar and the notation of the statistics used in
the french user guide.