How to include the metadata when we build the txDb object?
Hello everyone,
I am using the makeTxDbFromGFF function from GenomicFeatures to convert a gff3 file that is downloaded from Gencode to a TxDb object. But I find out with this function all the additional information that provides by Gencode was missing. For example, transcript_support_level, transcript_type and so on.
I was wondering is there a proper way to keep all these information when we make a TxDb object from gff3 file? Thank you in advance.
Best regards, Y.Zhou
• 1,858 views
•
link
0 answers
No answers yet.
Log in to answer this question.
Did you see the
makeTxDbfunction documentation ? You can pass a metadata data frame withmakeTxDbFromGFFwhich gets handed down tomakeTxDbFromGRangesand thenmakeTxDbHey Carambakaracho, thanks for your answer. I know we can do it like that, but we will need to make the meta data as a 2 column data frame ourself. I was wondering whether there is a more elegent way to do that : )