Skip to content

codeRclub

bioCEED R coding club

Menu

Primary menu

  • Home
  • About codeRclub
  • Calendar

Category Archives: Data manipulation

Introducing dplyr for data manipulation in R

Posted on 6 March 2017 by Richard Telford — No Comments ↓

For most analyses, a large proportion of the code is used to import, reformat and clean the data, and only a small portion is used to run the statistical tests. Despite this, university courses tend to focus on statistical analyses Continue reading Introducing dplyr for data manipulation in R→

Posted in Data manipulation | Tagged dpyr | Leave a reply

Don’t get attached to attach()

Posted on 3 May 2016 by Richard Telford — 1 Comment ↓

When data are imported into R it generally arrives as a data.frame, a type of object that contains named columns. We often want to access the contents of each column which can be done with the dollar or square-bracket notation. Continue reading Don’t get attached to attach()→

Posted in Data manipulation, For absolute beginners, graphics | Tagged attach, detach, ggplot, with, within | 1 Reply

Importing excel data into R

Posted on 30 November 2015 by Richard Telford — 6 Comments ↓

Importing data is one of those things that is often much more effort that it should be. It is often convenient to enter data into excel, but this then needs to be imported into R. There are several ways to Continue reading Importing excel data into R→

Posted in Data manipulation | Tagged excel files | 6 Replies

Never used R? Loading your data for the first time.

Posted on 5 June 2015 by Amy Eycott — 1 Comment ↓

Here is a guide for the kind of person who needs to get their data into R and have never done so or are struggling to get their data to load. I’ve tried to explain using simple words and lots Continue reading Never used R? Loading your data for the first time.→

Posted in Data manipulation, For absolute beginners | Tagged Load data, read.table, simple | 1 Reply

Finding the row and column names of a matrix

Posted on 10 May 2015 by alistairseddon — No Comments ↓

In Friday’s codeRclub, we had a problem which involved finding the row and column names for items in a matrix greater than a specified value (e.g. finding the names of the pairs of samples in a  correlation matrix with correlation Continue reading Finding the row and column names of a matrix→

Posted in Data manipulation | Tagged colnames, matrix, rownames, which | Leave a reply

Primary Sidebar Widget Area

Upcoming Events

May
9
Fri
14:00 CodeR-club
CodeR-club
May 9 @ 14:00 – 16:00
 
May
16
Fri
14:00 CodeR-club
CodeR-club
May 16 @ 14:00 – 16:00
 
May
23
Fri
14:00 CodeR-club
CodeR-club
May 23 @ 14:00 – 16:00
 
May
30
Fri
14:00 CodeR-club
CodeR-club
May 30 @ 14:00 – 16:00
 
Jun
6
Fri
14:00 CodeR-club
CodeR-club
Jun 6 @ 14:00 – 16:00
 
Jun
13
Fri
14:00 CodeR-club
CodeR-club
Jun 13 @ 14:00 – 16:00
 
Jun
20
Fri
14:00 CodeR-club
CodeR-club
Jun 20 @ 14:00 – 16:00
 
Jun
27
Fri
14:00 CodeR-club
CodeR-club
Jun 27 @ 14:00 – 16:00
 
Jul
4
Fri
14:00 CodeR-club
CodeR-club
Jul 4 @ 14:00 – 16:00
 
Jul
11
Fri
14:00 CodeR-club
CodeR-club
Jul 11 @ 14:00 – 16:00
 
View Calendar
Add
  • Add to Timely Calendar
  • Add to Google
  • Add to Outlook
  • Add to Apple Calendar
  • Add to other calendar
  • Export to XML

Recent Posts

  • Rklubben on Zoom
  • Why use ggplot2?
  • Introducing dplyr for data manipulation in R
  • How to modify an existing ggplot2 theme to make it your own
  • Don’t get attached to attach()

Recent Comments

  • 2. How to import data into R -no – bioST@TS on Importing excel data into R
  • 2. Loading a dataframe – bioST@TS on Don’t get attached to attach()
  • Simon on Never used R? Loading your data for the first time.
  • Comparing two variables – Chi square test – bioST@TS on Importing excel data into R
  • 2. How to import data into R – bioST@TS on Importing excel data into R

Archives

  • January 2021
  • May 2017
  • March 2017
  • February 2017
  • May 2016
  • November 2015
  • October 2015
  • June 2015
  • May 2015

Categories

  • Admin
  • Data manipulation
  • For absolute beginners
  • graphics
  • Uncategorized

Meta

  • Register
  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

Subscribe to codeRclub

Get an email when a new post is published.

Copyright © 2025 codeRclub. All Rights Reserved.
Theme: Catch Box by Catch Themes
Scroll Up