Last updated: 2020-06-29

Checks: 2 0

Knit directory: rss-net/

This reproducible R Markdown analysis was created with workflowr (version 1.6.2). The Checks tab describes the reproducibility checks that were applied when the results were created. The Past versions tab lists the development history.


Great! Since the R Markdown file has been committed to the Git repository, you know the exact version of the code that produced these results.

Great! You are using Git for version control. Tracking code development and connecting the code version to the results is critical for reproducibility.

The results in this page were generated with repository version f706971. See the Past versions tab to see a history of the changes made to the R Markdown and HTML files.

Note that you need to be careful to ensure that all relevant files for the analysis have been committed to Git prior to generating the results (you can use wflow_publish or wflow_git_commit). workflowr only checks the R Markdown file, but you know if there are other scripts or data files that it depends on. Below is the status of the Git repository when the results were generated:


Ignored files:
    Ignored:    .Rhistory
    Ignored:    .Rproj.user/
    Ignored:    examples/ibd2015_nkcell/ibd2015_Primary_Natural_Killer_cells_from_peripheral_blood_NK_out_66.mat
    Ignored:    examples/ibd2015_nkcell/randinit_results/
    Ignored:    examples/ibd2015_nkcell/results/
    Ignored:    examples/wtccc_bcell/results/

Note that any generated files, e.g. HTML, png, CSS, etc., are not included in this status report because it is ok for generated content to have uncommitted changes.


These are the previous versions of the repository in which changes were made to the R Markdown (rmd/setup.Rmd) and HTML (docs/setup.html) files. If you’ve configured a remote Git repository (see ?wflow_git_remote), click on the hyperlinks in the table below to view the files as they were in that past version.

File Version Author Date Message
html e7cbf15 xiangzhu 2020-04-05 Build site.
Rmd 0ebe852 xiangzhu 2020-04-05 wflow_publish(“rmd/setup.Rmd”)
html a424171 xiangzhu 2020-03-08 Build site.
html f6f38cd xiangzhu 2020-03-08 Build site.
Rmd acee316 xiangzhu 2020-03-08 wflow_publish(“rmd/setup.Rmd”)
html 5c5e8e1 xiangzhu 2020-03-08 Build site.
html 822011d xiangzhu 2019-08-23 Build site.
html d610537 xiangzhu 2019-08-23 rename doc folder
html 71b62db xiangzhu 2019-08-23 rename doc folder
html 4b80ad9 xiangzhu 2019-08-23 Build site.
Rmd bbb924e xiangzhu 2019-08-23 wflow_publish(“rmd/setup.Rmd”)

This page shows how to install the RSS-NET software. In a standard computing environment with internet connection, the installation time is typically less than 10 minutes.

Step-by-step guide

0. Install git (optional)

To simplify Steps 1-2 below, you may consider installing git in your computing environment (if it is not available there). Please see this excellent tutorial on installing git.

Please note that RSS-NET software does not depend on git. You can complete Steps 1-2 without installing git.

1. Clone rss repository

With git installed, you can easily clone rss by running the following command in Terminal.

git clone git@github.com:stephenslab/rss.git

Without git, you can manually download rss as follows.

wget https://github.com/stephenslab/rss/archive/master.zip
unzip master.zip
rm master.zip
mv rss-master rss

2. Clone rss-net repository

Similar to Step 1, if git is available in your computing environment, you can easily clone rss-net by running the following command in Terminal.

git clone git@github.com:SUwonglab/rss-net.git

Without git, you can manually download rss-net as follows.

wget https://github.com/SUwonglab/rss-net/archive/master.zip
unzip master.zip
rm master.zip
mv rss-net-master rss-net 

3. Compile mex file

Go to rss/src_vb and open MATLAB.

cd rss/src_vb
matlab -nodesktop

Run rss/src_vb/install.m in MATLAB. You may get the following output.

>> run install.m
Building with 'gcc'.
MEX completed successfully.
Compilation of MEX files is complete.

After successfully running rss/src_vb/install.m, you will find a file rss_varbvsr_update_matlab.mexa64 (in Linux) in the directory rss/src_vb, which is the workhorse for variational Bayes computations.

Computing environment

Please note that RSS-NET have only been extensively tested in Linux systems, using the version 9.3.0.713579 (R2017b) of MATLAB for 64-bit Linux. If you have any trouble installing RSS-NET, please open an issue or email me (xiangzhu[at]stanford.edu). To help me better understand your problems, please provide details of your computing environment.

MEX files

The most tricky part of this installation is probably compiling MEX files in MATLAB (Step 3).

Before running rss/src_vb/install.m, please make sure that you have the compiler compatible with your version of MATLAB, and that you can compile the MEX files in the tutorials given on the MathWorks website.

In addition, please ensure that you compile and run the scripts in the same version of MATLAB. For example, if you have compiled MEX files using MATLAB Release R2017b, please use the compiled output rss_varbvsr_update_matlab.mexa64 only in MATLAB R2017b.

For more information on MEX, please see: