Skip to content

codeRclub

bioCEED R coding club

Menu

Primary menu

  • Home
  • About codeRclub
  • Calendar

Month: May 2015

Progress bars and for loops.

Posted on 21 May 2015 by alistairseddon — No Comments ↓

Today somebody asked me about building a progress bar into a for loop. This can be really useful if you are running lots of bootstrapping or Monte Carlo simulations, and you want some peace of mind so that you know Continue reading Progress bars and for loops.→

Posted in Uncategorized | Tagged for loop, if, progress bar, txtProgressBar | Leave a 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

Expressions in R

Posted on 7 May 2015 by Richard Telford — 1 Comment ↓

expression() and related functions including bquote() are powerful tools for annotating figures with mathematical notation in R. This functionality is not obvious from their respective help files. demo(plotmath) nicely shows the huge potential of expression(), but does not help that Continue reading Expressions in R→

Posted in graphics | Tagged bquote, expression, plotmath, title | 1 Reply

Formatting R code in WordPress

Posted on 7 May 2015 by Richard Telford — No Comments ↓

To show formatted code within a paragraph, for example a function name, use <code>plot</code> which will appear as plot. To show a block of code, use something like this but using square brackets [] rather than braces {}. {code language=”r”} x<-rnorm(100) Continue reading Formatting R code in WordPress→

Posted in Admin | Leave a reply

Primary Sidebar Widget Area

Upcoming Events

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
 
Jul
18
Fri
14:00 CodeR-club
CodeR-club
Jul 18 @ 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