Skip to content

Commit c17af55

Browse files
author
Jonas Ohlsson
committed
no need to select rows since data is already only two rows wide.
1 parent c1f908c commit c17af55

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

rna_seq.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,7 @@ Salmon did the quantifiation of the transcript level. We want to see which genes
9191
```R
9292
txdb <- makeTxDbFromGFF("chr22_genes.gtf")
9393
k <- keys(txdb, keytype = "GENEID")
94-
df <- select(txdb, keys = k, keytype = "GENEID", columns = "TXNAME")
95-
tx2gene <- df[, 2:1]
94+
tx2gene <- select(txdb, keys = k, keytype = "GENEID", columns = "TXNAME")
9695
head(tx2gene)
9796
```
9897

0 commit comments

Comments
 (0)