lawremi / rtracklayer

R interface to genome annotation files and the UCSC genome browser
Other
29 stars 17 forks source link

fix unknown track error in line665: rmsk --> RepeatMasker #108

Open ferygood opened 9 months ago

ferygood commented 9 months ago

I am happy to see there is a demonstration of usage to get the RepeatMakser track in rtracklayer, since I am very interested in this field. I just found an unknown track error. Please consider accepting this change in the tutorial. Thanks a lot!

Details: This function demonstration wants to get the RepeatMasker table from UCSC. Thus, the track needs to be RepeatMasker instead of rmsk. Otherwise, it will get an unknown track error in R:

Error in h(simpleError(msg, call)) : error in evaluating the argument 'object' in selecting a method for function 'getTable': error in evaluating the argument 'table' in selecting a method for function '%in%': Unknown track: rmsk