sample_names {variantspark} | R Documentation |
This function display the first N variant names.
sample_names(vcf_source, n_samples = NULL)
vcf_source |
An object with |
n_samples |
The number os samples to display. |
spark_jobj, shell_jobj
## Not run:
library(sparklyr)
sc <- spark_connect(master = "local")
vsc <- vs_connect(sc)
hipster_vcf <- vs_read_vcf(vsc,
system.file("extdata/hipster.vcf.bz2",
package = "variantspark"))
sample_names(hipster_vcf, 3)
## End(Not run)