Description Usage Arguments Value Author(s) See Also Examples
The software
function retrieves information about the software used to
generate genotype calls present in a ploidyverse VCF
.
The corresponding assignment function can be used to add the same data to a
VCF
object.
1 2 3 |
object |
A |
value |
A named character vector, named list, or data frame. The names (or column
names) |
software
returns a DataFrame
containing information about
the software used for genotype calling.
software<-
stores software metadata in a DataFrame
in
meta(header(object))$ploidyverse
.
Lindsay V. Clark
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | ## Not run:
# To add software information to a new VCF
software(myvcf) <- c(Software = "polyRAD", Version = "1.1", Model = "IteratePopStruct",
Description = "Just some genotypes")
software(myvcf)
# To add additional software information, without overwriting
software(myvcf) <- rbind(software(myvcf),
DataFrame(row.names = "Phasing",
Software = "Beagle",
Version = "5000",
Model = "spiffy polyploid model",
Description = "Imputation with Beagle"))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.