Skip to content

Commit 88282b8

Browse files
committed
fix: Add missing dot to regex
1 parent 5efc0b4 commit 88282b8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bin/gen_tx2gene.r

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ txdf <- AnnotationDbi::select(
2626
tab <- table(txdf$GENEID)
2727
txdf$ntx <- tab[match(txdf$GENEID, names(tab))]
2828

29-
txdf$TXNAME <- gsub("\\.*", "", txdf$TXNAME)
30-
txdf$GENEID <- gsub("\\.*", "", txdf$GENEID)
29+
txdf$TXNAME <- gsub("\\..*", "", txdf$TXNAME)
30+
txdf$GENEID <- gsub("\\..*", "", txdf$GENEID)
3131

3232
tx2gene <- data.frame(
3333
tx = txdf$TXNAME,

0 commit comments

Comments
 (0)