readVCF - Read VCF
Read VCF file into RevBayes
readVCF(
String file,
String type)
| file : |
String (pass by value) |
| Relative or absolute name of the file. |
| type : |
String (pass by value) |
| The type of data to be constructed. |
| Default : binary |
| Options : DNA|binary |
readVCF reads in a file that is in Variant Call Format (VCF), accepting two
arguments. The first argument specifies the relative or absolute
file path to desired VCF file. The second specifies type of data
to be constructed (default binary). This function
only allows for 0, 1, and . characters in the VCF file.
x <- readVCF("path/to/VCF/file", "binary")