How To Install r-bioc-dnacopy on Ubuntu 18.04

In this tutorial we learn how to install r-bioc-dnacopy on Ubuntu 18.04. r-bioc-dnacopy is R package

Introduction

In this tutorial we learn how to install r-bioc-dnacopy on Ubuntu 18.04.

What is r-bioc-dnacopy

r-bioc-dnacopy is:

Implements the circular binary segmentation (CBS) algorithm to segment DNA copy number data and identify genomic regions with abnormal copy number.

This package is for analyzing array DNA copy number data, which is usually (but not always) called array Comparative Genomic Hybridization (array CGH) data It implements a methodology for finding change-points in these data which are points after which the (log) test over reference ratios have changed location. This model is that the change-points correspond to positions where the underlying DNA copy number has changed. Therefore, change-points can be used to identify regions of gained and lost copy number. Also provided is a function for making relevant plots of these data.

There are three methods to install r-bioc-dnacopy on Ubuntu 18.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-bioc-dnacopy 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-bioc-dnacopy using apt-get by running the following command:

sudo apt-get -y install r-bioc-dnacopy

Install r-bioc-dnacopy Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install r-bioc-dnacopy using apt by running the following command:

sudo apt -y install r-bioc-dnacopy

Install r-bioc-dnacopy 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-bioc-dnacopy using aptitude by running the following command:

sudo aptitude -y install r-bioc-dnacopy

How To Uninstall r-bioc-dnacopy on Ubuntu 18.04

To uninstall only the r-bioc-dnacopy package we can use the following command:

sudo apt-get remove r-bioc-dnacopy

Uninstall r-bioc-dnacopy And Its Dependencies

To uninstall r-bioc-dnacopy and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove r-bioc-dnacopy

Remove r-bioc-dnacopy Configurations and Data

To remove r-bioc-dnacopy configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge r-bioc-dnacopy

Remove r-bioc-dnacopy configuration, data, and all of its dependencies

We can use the following command to remove r-bioc-dnacopy configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge r-bioc-dnacopy

References

Summary

In this tutorial we learn how to install r-bioc-dnacopy package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.