I'm new to RStudio, and am asked to create a GFF file for a college course. I have a large character value ("orf_verified.gff") I created and see in the global environment, but I need to convert it to a GFF file. I tried to filter for values that contained "orf_classification=Verified" and that worked, but it ended up as a character value, not a GFF file. This is what I tried:
orf_verified.gff <- grep("orf_classification=Verified",gene_data$gffAttributes,ignore.case = FALSE,perl = FALSE,value = TRUE,fixed = FALSE,useBytes = FALSE,invert = FALSE)
I apologize in advance for asking a basic question and appreciate any help you can give.