If you are the first time to install R, please don't install 32 bit R. Make sure to uncheck the '32-bit Files' box when you see the following window:
For window's users, please install rtools based on your R version. Make sure to click 'Edit the system PATH' box when you see this window:
After installing rtools, install 'devtools' package with the following command. If it asks whether install the package that requires compilation, type 'y'.
install.packages('devtools')
For macbook's users, please install gfortran with brew. If you have not installed brew, please check this link to set up brew on your machine.
brew install gcc
After that, install 'devtools' package with the following command.
install.packages('devtools')
You can download the release version of the Single Cell Toolkit in Bioconductor v3.10:
if (!requireNamespace("BiocManager", quietly=TRUE))
install.packages("BiocManager")
BiocManager::install("singleCellTK")
You can download the development version of the Single Cell Toolkit in Bioconductor v3.11 or from this repository:
# install.packages("devtools")
devtools::install_github("compbiomed/singleCellTK")
If you are still running an earlier version of R than 3.5, you can install the following version from this repository:
# install.packages("devtools")
devtools::install_github("compbiomed/singleCellTK", ref="r_3_4")
For the majority of users, the commands above will install the latest version of the singleCellTK without any errors. Rarely, you may encounter an error due to previously installed versions of some packages that are required for the singleCellTK. If you encounter an error during installation, use the commands below to check the version of Bioconductor that is installed:
if (!requireNamespace("BiocManager", quietly=TRUE))
install.packages("BiocManager")
BiocManager::version()
If the version number is not 3.6 or higher, you must upgrade Bioconductor to install the toolkit:
BiocManager::install()
After you install Bioconductor 3.6 or higher, you should be able to install the
toolkit using devtools::install_github("compbiomed/singleCellTK")
. If you
still encounter an error, ensure your Bioconductor packages are up to date by
running the following command.
BiocManager::valid()
If the command above does not return TRUE
, run the following command to
update your R packages:
BiocManager::install()
Then, try to install the toolkit again:
devtools::install_github("compbiomed/singleCellTK")
If you still encounter an error, please contact us and we'd be happy to help.
To contribute to singleCellTK, follow these steps:
Note: Development of the singleCellTK is done using the latest version of R.
git clone https://github.com/{username}/singleCellTK.git
"You can then make your changes and test your code using the Rstudio build tools. There is a lot of information about building packages available here: http://r-pkgs.had.co.nz/.
Information about building shiny packages is available here: http://shiny.rstudio.com/tutorial/.
When you are ready to upload your changes, commit them locally, push them to your forked repo, and make a pull request to the compbiomed repository.
Report bugs and request features on our GitHub issue tracker.
Join us on slack!
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.