I'm trying to import some sample VCF data I have on my desktop to Rstudio in order to follow the steps for the vcfR package (Reading VCF data) shown here. I tried importing the dataset From Text (Base) but it does not allow me to further analyze the data:
Error in strwrap(WES.vcf@meta[1:7]) :
trying to get slot "meta" from an object (class "data.frame") that is not an S4 object
Is there any way to import this data in the proper way to analyze as the website does?