Roleren / ORFik

MIT License
32 stars 9 forks source link

Doc text adjusted #166

Closed upgradedavid closed 5 months ago

Roleren commented 5 months ago

What ?

This has no effect for me ?

> identical(GRanges(seqnames = names(seq)[as.integer(names(gr))],ranges(gr), strand = "+"), 
+           GRanges(seqnames = names(seq)[as.integer(names(gr))], ranges = gr, strand = "+"))
[1] TRUE
upgradedavid commented 5 months ago

gr is already an Iranges object, so wrapping ranges() function around it doesn't make any sense. Also, the other parameters are explicitly stated (seqnames =, strand=), I think "ranges = gr" is what you/authors wanted to write there.