Skip to content

Commit

Permalink
Fixed scripts/annotated_snps_filter.R
Browse files Browse the repository at this point in the history
The working directory is now set *before* reading annotated SNP files
  • Loading branch information
rnnh committed Nov 12, 2020
1 parent 486a2b0 commit aa1c8f5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/annotated_snps_filter.R
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ annotated_SNP_file_2 <- "<.tsv File name here>"

# Setup ========================================================================

# Setting the working directory
setwd("~/bioinfo-notebook/data")

annotated_SNP_file_1 <- read.table(
annotated_SNP_file_1,
stringsAsFactors = FALSE, header = TRUE)
Expand All @@ -31,9 +34,6 @@ annotated_SNP_file_2 <- read.table(
annotated_SNP_file_2,
stringsAsFactors = FALSE, header = TRUE)

# Setting the working directory
setwd("~/bioinfo-notebook/data")

# Finding rows in common between annotated SNP data frames =====================

# This needs to be carried out multiple times because the number of rows in
Expand Down

0 comments on commit aa1c8f5

Please sign in to comment.