How To Install r-cran-susier on Ubuntu 22.04
Introduction
In this tutorial we learn how to install r-cran-susier on Ubuntu 22.04.
What is r-cran-susier
r-cran-susier is:
Implements methods for variable selection in linear regression based on the “Sum of Single Effects” (SuSiE) model, as described in Wang et al (2020) DOI:10.1101/501114. These methods provide simple summaries, called “Credible Sets”, for accurately quantifying uncertainty in which variables should be selected. The methods are motivated by genetic fine-mapping applications, and are particularly well-suited to settings where variables are highly correlated and detectable effects are sparse. The fitting algorithm, a Bayesian analogue of stepwise selection methods called “Iterative Bayesian Stepwise Selection” (IBSS), is simple and fast, allowing the SuSiE model be fit to large data sets (thousands of samples and hundreds of thousands of variables).
There are three methods to install r-cran-susier on Ubuntu 22.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.
Install r-cran-susier Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install r-cran-susier using apt-get by running the following command:
sudo apt-get -y install r-cran-susier
Install r-cran-susier Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install r-cran-susier using apt by running the following command:
sudo apt -y install r-cran-susier
Install r-cran-susier Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.
sudo aptitude update
After updating apt database, We can install r-cran-susier using aptitude by running the following command:
sudo aptitude -y install r-cran-susier
How To Uninstall r-cran-susier on Ubuntu 22.04
To uninstall only the r-cran-susier package we can use the following command:
sudo apt-get remove r-cran-susier
Uninstall r-cran-susier And Its Dependencies
To uninstall r-cran-susier and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:
sudo apt-get -y autoremove r-cran-susier
Remove r-cran-susier Configurations and Data
To remove r-cran-susier configuration and data from Ubuntu 22.04 we can use the following command:
sudo apt-get -y purge r-cran-susier
Remove r-cran-susier configuration, data, and all of its dependencies
We can use the following command to remove r-cran-susier configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge r-cran-susier
References
Summary
In this tutorial we learn how to install r-cran-susier package on Ubuntu 22.04 using different package management tools: apt, apt-get and aptitude.