Skip to content

Commit 05df9b3

Browse files
committed
Add read.csv from github for personal machines
1 parent da0666e commit 05df9b3

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

docs/03-basics-factors-dataframes.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,13 @@ typos and errors in file paths.** Use it!
162162
variants <- read.csv("/home/shared/<USERID>/R4Genomics/combined_tidy_vcf.csv")
163163
```
164164

165+
??? tip "What if you want to access this file on your personal computer?"
166+
```r
167+
# Read the csv directly from our github repository
168+
169+
variants <- read.csv('https://raw.githubusercontent.com/GenomicsAotearoa/Introduction-to-R/refs/heads/main/combined_tidy_vcf.csv')
170+
```
171+
165172
One of the first things you should notice is that in the Environment
166173
window, you have the `variants` object, listed as 801 obs.
167174
(observations/rows) of 29 variables (columns). Double-clicking on the

0 commit comments

Comments
 (0)