Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
genotoul-bioinfo
jvenn
Commits
6d1d3770
Commit
6d1d3770
authored
Mar 20, 2014
by
Jerome Mariette
Browse files
add formats description
parent
6399fe36
Changes
1
Hide whitespace changes
Inline
Side-by-side
BMC_jvenn/bmc_jvenn.tex
View file @
6d1d3770
...
...
@@ -47,6 +47,19 @@
\documentclass
{
bmcart
}
%%% Load packages
\usepackage
{
listings
}
\usepackage
{
color
}
\definecolor
{
gray
}{
rgb
}{
0.5,0.5,0.5
}
\lstset
{
language=Java,
showstringspaces=false,
columns=flexible,
basicstyle=
{
\scriptsize
\ttfamily
}
,
numbers=none,
stringstyle=
\color
{
gray
}
,
breaklines=true,
breakatwhitespace=true
}
%\usepackage{amsthm,amsmath}
%\RequirePackage{natbib}
%\RequirePackage{hyperref}
...
...
@@ -297,12 +310,12 @@ jvenn outputs a chart of two to six areas each representing an identifiers input
are clickable by the user to access the identifiers list belonging to the intersection. In order to ease overlaps understanding,
when the user mouse is over an intersection number, jvenn overlights the pointed classes and blurs the other ones.
The library provides an option to define the data inputs:
\textit
{
series
}
. The library accepts three different input formats
.
In case the
\textit
{
series
}
are a list of value, the plugin will compute itself the overlaps between
lists. The
\textit
{
series
}
can also define the number to display for each intersections or can be defined as a mix of the first
two formats.
The resulting display is created with the help of the javascript canvas object which allows to export the chart as
a png file.
This last feature can be disabled in order to hide the exporting button from the user by setting the
\textit
{
exporting
}
option
to
\textit
{
false
}
.
The library provides an option to define the data inputs:
\textit
{
series
}
. The library accepts three different input formats
discribed in Table 1.
In case the
\textit
{
series
}
are a list of value, the plugin will compute itself the overlaps between
lists. The
\textit
{
series
}
can also define the number to display for each intersections or can be defined as a mix of the first
two formats.
The resulting display is created with the help of the javascript canvas object which allows to export the chart as
a png file.
This last feature can be disabled in order to hide the exporting button from the user by setting the
\textit
{
exporting
}
option
to
\textit
{
false
}
.
jvenn handles up to six classes, which leads to display sixty three overlap numbers. Displaying and interacting with such a chart
can be bulky and difficult. In this case, jvenn proposes a switch button panel allowing to activate or disactivate classes.
...
...
@@ -407,5 +420,51 @@ the system and for pointing out features worth developing.
twelve different identifiers.
}
\end{figure}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% %%
%% Tables %%
%% %%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Use of \listoftables is discouraged.
%%
\section*
{
Tables
}
\begin{table}
[h!]
\caption
{
Available formats and example for the
\textit
{
series
}
option.
}
\begin{tabular}
{
cccc
}
\hline
format
&
example
\\
\hline
list
&
\begin{lstlisting}
series: [
{
name: 'sample1',
data: ["Otu1", "Otu2", "Otu3", "Otu4", "Otu5", "Otu6", "Otu7"]
}
,
{
name: 'sample2',
data: ["Otu1", "Otu2", "Otu5", "Otu7", "Otu8", "Otu9"]
}
]
\end{lstlisting}
\\
\hline
number
&
\begin{lstlisting}
series: [
{
name:
{
A: 'sample 1', B: 'sample 2', C: 'sample 3'
}
,
data:
{
A: 340, B: 562, C: 620, AB: 639, AC: 456, BC: 915, ABC: 552
}
}
]
\end{lstlisting}
\\
\hline
list+number
&
\begin{lstlisting}
series: [
{
name: 'sample1',
data: ["Otu1", "Otu2", "Otu3", "Otu4", "Otu5", "Otu6", "Otu7"],
values: [5, 15, 250, 20, 23, 58, 89]
}
,
{
name: 'sample2',
data: ["Otu1", "Otu2", "Otu5", "Otu7", "Otu8", "Otu9"],
values: [90, 300, 10, 2, 45, 9]
}
]
\end{lstlisting}
\\
\hline
\end{tabular}
\end{table}
\end{backmatter}
\end{document}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment