Skip to content

Commit

Permalink
fix: Add missing dot to regex
Browse files Browse the repository at this point in the history
  • Loading branch information
jvfe committed Sep 29, 2024
1 parent 5efc0b4 commit 88282b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/gen_tx2gene.r
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ txdf <- AnnotationDbi::select(
tab <- table(txdf$GENEID)
txdf$ntx <- tab[match(txdf$GENEID, names(tab))]

txdf$TXNAME <- gsub("\\.*", "", txdf$TXNAME)
txdf$GENEID <- gsub("\\.*", "", txdf$GENEID)
txdf$TXNAME <- gsub("\\..*", "", txdf$TXNAME)
txdf$GENEID <- gsub("\\..*", "", txdf$GENEID)

tx2gene <- data.frame(
tx = txdf$TXNAME,
Expand Down

0 comments on commit 88282b8

Please sign in to comment.