You can download the release version of the Single Cell Toolkit from this repository:
# install.packages("devtools")
devtools::install_github("wejlab/singleCellTK")
For the majority of users, the commands above will install the latest version of the singleCellTK without any errors. Occasionally, you may get an error indicating a missing package, e.g., "there is no package called ‘GSVAdata’", when you launch the App. In this case just install the missing packages using CRAN or Bioconductor. In addition, rarely you may encounter an error due to previously installed versions of some packages or missing 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.14 or higher, you must upgrade Bioconductor to install the toolkit:
BiocManager::install()
After you install Bioconductor 3.14 or higher, you should be able to install the
toolkit using devtools::install_github("wejlab/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("wejlab/singleCellTK")
If you still encounter an error, please contact us and we'd be happy to help.
You can use the example data aleady available within the app, or you can upload your own data. To get started, simply run the singleCellTK function:
library(singleCellTK)
singleCellTK()
And then follow the point and click interface or directions to navigate the app. For more detailed instructions, click on the tabs at the top or links below for more help.
- Upload Tab
- Data Summary and Filtering Tab
- Visualization and Clustering Tab
- Batch Correction Tab
- Differential Expression Tab
- Pathway Activity Analysis Tab
- Sample Size Tab
To contribute to singleCellTK, follow these steps:
Note: Development of the singleCellTK is done using the latest version of R.
- Fork the repo using the "Fork" button above.
- Download a local copy of your forked repository "
git clone https://github.com/{username}/singleCellTK.git
" - Open Rstudio
- Go to "File" -> "New Project" -> "Existing Directory" and select your git repository directory
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!