CellDepot is database management system integrated with management system, query searching and data visualization tools for scRNA-seq datasets, which can be accessed by the link http://celldepot.bxgenomics.com and Biogen internal link http://go.biogen.com/CellDepot.
This is a supplemental tutorial written in Markdown, which provides the detailed guide for CellDepot web portal. Please see the HTML format tutorial at https://interactivereport.github.io/CellDepot/bookdown/docs/. You can also make a local copy of the supplemental tutorial by using makebook.sh.
git pull https://interactivereport@github.com/interactivereport/CellDepot gh-pages
[](https://interactivereport.github.io/CellDepot/bookdown/figures/S1.jpg)
bookdown::render_book("index.Rmd", "bookdown::pdf_book")
After running above command, three files: .tex, .pdf and .log files in /bookdown folder will be generated.
Note: If LaTex is able to compile .tex, you will find a .pdf copy in /bookdown/docs folder. If LaTex fails to compile .tex, the .pdf copy will not appears in /bookdown/docs folder. When LaTex fails to compile .tex, you need to look into .log file and edit corresponding errors in .tex file.
Followings are some tricks to format PDF by editing .tex file.
\author{Author1 \and Author2 \and Author3 \and Author4 \footnote{Cooresponding author, email: author4@xxx.com}}
Note: \footnote{} can be used for cooresponding author and/or co-author.
Webpage URL for inserting figures
\href{https://interactivereport.github.io/CellDepot/bookdown/figures/table_s1.jpg}{\includegraphics{figures/table_s1.jpg}}
\write18{wget http://www.some-site.com/path/to/image.png}
\includegraphics{image.png}
\begin{table}
\resizebox{\textwidth}{!}{
\begin{tabular}
... table contents...
\end{tabular}
}
\end{table}
Position of figures and table by adding placement specifier.
For example, placing the figure close to where it is mentioned.
\begin{figure}[h]
... figure contents...
\end{figure}
For more details, please see https://www.overleaf.com/learn/latex/Positioning_of_Figures
brew install basictex (Mac)
If you are using Rstudio, you can direct click ‘Compile PDF’ button for the .tex file (You need open .tex file in Rstudio).
For example:
( /usr/local/bin/pandoc -> /Applications/RStudio.app/Contents/MacOS/pandoc/pandoc )
pandoc CellDepot.tex -o CellDepot.pdf
pdflatex -jobname=CellDepot CellDepot.tex
If not found ‘.sty’ is critical, Go to https://www.ctan.org/pkg, download the package and install it in the system by following the INSTALL file in each downloaded package under your latex path (e.g. /usr/share/texlive/texmf-dist/tex/latex/)
Note: This step is also applicable for ‘complie PDF’ in Rstudio.