Skip to content

Commit

Permalink
Update case_studies/CARD/Bug-Drug Code.R
Browse files Browse the repository at this point in the history
Co-authored-by: Janani Ravi <[email protected]>
  • Loading branch information
Cateline and jananiravi authored Nov 1, 2024
1 parent f6b87e7 commit bbb8c91
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions case_studies/CARD/Bug-Drug Code.R
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,6 @@ untar("broadstreet-v3.3.0.tar", exdir = "CARD_data")


# Map CARD Short Name
# Install and Load dplyr and readr
packages <- c("dplyr", "readr")

for (pkg in packages) {
if (!require(pkg, character.only = TRUE)) {
install.packages(pkg)
library(pkg, character.only = TRUE)
} else {
library(pkg, character.only = TRUE)
}
}

# Parse the required files using readr::read_delim
aro_index <- read_delim("CARD_data/aro_index.tsv", delim = "\t", col_names = TRUE)
Expand Down

0 comments on commit bbb8c91

Please sign in to comment.