Skip to content

Commit 1f970c4

Browse files
authored
update a typo in code example
update the code example for extracting novel transcript with at least 1 full length count in any sample
1 parent 8afb102 commit 1f970c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,9 +188,9 @@ If you are only interested in the novel transcripts, one can filter this 'se' ob
188188
se.novel = se[mcols(se)$novelTranscript,]
189189
writeBambuOutput(se.novel, path = "./bambu/")
190190
```
191-
If you are only interested in full-length transcripts that were detected by Bambu.
191+
If you are only interested in full-length transcripts that were detected by Bambu in at least 1 sample.
192192
```rscript
193-
se.novel = se[assays(se)$fullLengthCounts >= 1,]
193+
se.novel = se[mcols(se)$novelTranscript&(apply(assays(se)$fullLengthCounts >= 1,1,sum)>=1),]
194194
writeBambuOutput(se.novel, path = "./bambu/")
195195
```
196196

0 commit comments

Comments
 (0)