powered by
Check the existence of a package
PackageCheck(..., error = TRUE)
Invisibly returns boolean denoting if the package is installed
Package names
If true, throw an error if the package doesn't exist
PackageCheck("SeuratObject", error = FALSE)
Run the code above in your browser using DataLab