How To Install r-cran-fdrtool on Ubuntu 20.04
Introduction
In this tutorial we learn how to install r-cran-fdrtool
on Ubuntu 20.04.
What is r-cran-fdrtool
r-cran-fdrtool is:
Estimates both tail area-based false discovery rates (Fdr) as well as local false discovery rates (fdr) for a variety of null models (p-values, z-scores, correlation coefficients, t-scores). The proportion of null values and the parameters of the null distribution are adaptively estimated from the data. In addition, the package contains functions for non-parametric density estimation (Grenander estimator), for monotone regression (isotonic regression and antitonic regression with weights), for computing the greatest convex minorant (GCM) and the least concave majorant (LCM), for the half-normal and correlation distributions, and for computing empirical higher criticism (HC) scores and the corresponding decision threshold.
There are three methods to install r-cran-fdrtool
on Ubuntu 20.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-fdrtool 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-fdrtool
using apt-get
by running the following command:
sudo apt-get -y install r-cran-fdrtool
Install r-cran-fdrtool Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install r-cran-fdrtool
using apt
by running the following command:
sudo apt -y install r-cran-fdrtool
Install r-cran-fdrtool 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-fdrtool
using aptitude
by running the following command:
sudo aptitude -y install r-cran-fdrtool
How To Uninstall r-cran-fdrtool on Ubuntu 20.04
To uninstall only the r-cran-fdrtool
package we can use the following command:
sudo apt-get remove r-cran-fdrtool
Uninstall r-cran-fdrtool And Its Dependencies
To uninstall r-cran-fdrtool
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove r-cran-fdrtool
Remove r-cran-fdrtool Configurations and Data
To remove r-cran-fdrtool
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge r-cran-fdrtool
Remove r-cran-fdrtool configuration, data, and all of its dependencies
We can use the following command to remove r-cran-fdrtool
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge r-cran-fdrtool
References
Summary
In this tutorial we learn how to install r-cran-fdrtool
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.