Commit 1de2c99 1 parent 37f73aa commit 1de2c99 Copy full SHA for 1de2c99
File tree 2 files changed +6
-0
lines changed
2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,9 @@ txdf <- AnnotationDbi::select(
26
26
tab <- table(txdf $ GENEID )
27
27
txdf $ ntx <- tab [match(txdf $ GENEID , names(tab ))]
28
28
29
+ txdf $ TXNAME <- gsub(" \\ ..*" , " " , txdf $ TXNAME )
30
+ txdf $ GENEID <- gsub(" \\ ..*" , " " , txdf $ GENEID )
31
+
29
32
tx2gene <- data.frame (
30
33
tx = txdf $ TXNAME ,
31
34
gene = txdf $ GENEID
Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ txi_gene <- tximport(
20
20
type = " kallisto" ,
21
21
tx2gene = tx2gene ,
22
22
ignoreTxVersion = TRUE ,
23
+ ignoreAfterBar = TRUE ,
23
24
dropInfReps = TRUE
24
25
)
25
26
@@ -28,6 +29,7 @@ txi_tx <- tximport(
28
29
type = " kallisto" ,
29
30
txOut = TRUE ,
30
31
ignoreTxVersion = TRUE ,
32
+ ignoreAfterBar = TRUE ,
31
33
dropInfReps = TRUE
32
34
)
33
35
@@ -37,6 +39,7 @@ txi_tx_scaled <- tximport(
37
39
txOut = TRUE ,
38
40
countsFromAbundance = " scaledTPM" ,
39
41
ignoreTxVersion = TRUE ,
42
+ ignoreAfterBar = TRUE ,
40
43
dropInfReps = TRUE
41
44
)
42
45
You can’t perform that action at this time.
0 commit comments