INFO2df | R Documentation |
Reformat INFO data as a data.frame and handle class when possible.
INFO2df(x)
metaINFO2df(x, field = "INFO")
x |
an object of class vcfR or chromR. |
field |
should either the INFo or FORMAT data be returned? |
The INFO column of VCF data contains descriptors for each variant. Because this column may contain many comma delimited descriptors it may be difficult to interpret. The function INFO2df converts the data into a data.frame. The function metaINFO2df extracts the information in the meta section that describes the INFO descriptors. This function is called by INFO2df to help it handle the class of the data.
A data.frame
data(vcfR_test)
metaINFO2df(vcfR_test)
getINFO(vcfR_test)
INFO2df(vcfR_test)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.