modified the header data in the fixed slots of a VCFHeader object
1
0
Entering edit mode
@delphinecharif-10744
Last seen 11 weeks ago
France

Hi all,

I was wondering if it is possible to modified the header data in the fixed slots of a VCFHeader object ?

I got this error.

attr(fixed(header(vcf)),"header")$FILTER <- newDataFrame

Error in (function (classes, fdef, mtable)  : unable to find an inherited method for function ‘fixed<-’ for signature ‘"VCFHeader", "fixed"’

thank you.

 

variantannotation • 662 views
ADD COMMENT
0
Entering edit mode
@michael-lawrence-3846
Last seen 2.8 years ago
United States

Not sure where you got the call to attr<-(), just this should work:

fixed(header(vcf))$FILTER <- newDataFrame

 

ADD COMMENT

Login before adding your answer.

Traffic: 383 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6