Blog Archives

Difference between unique() and duplicated()

October 20, 2016
By

When we work with data, we usually find with an obstacle: repeated values. This type of values don’t represent a critical problem if we have the ability to identify. Once we have that list of repeated values, it is very easy to discard, eliminate or simply extract. We are going to see two type of … Continue reading "Difference...

Read more »

How to create a fast and easy heatmap with ggplot2

October 17, 2016
By
How to create a fast and easy heatmap with ggplot2

The heatmaps are a tool of data visualization broadly widely used with biological data. The concept is to represent a matrix of values as colors where usually is organized by a gradient. We can find a large number of these graphics in scientific articles related with gene expressions, such as microarray or RNA-seq. In the next example, … Continue reading "How...

Read more »

Difference between paste() and paste0()

October 17, 2016
By

Probably, function paste is one of the most used function in R. The objective of this function is concatenate a series of strings. The arguments of the function are: … = The space to write the series of strings. sep = The element which separates every term. It should be specified with character string … Continue reading "Difference...

Read more »

Search R-bloggers


Sponsors

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)