vs_read_labels {variantspark} | R Documentation |
Reading labels
Description
This function reads only the label column of a CSV file and returns a jobj
object from CsvLabelSource
scala class.
Usage
vs_read_labels(vsc, path, label = "label")
Arguments
vsc |
A variantspark connection. |
path |
The file's path. |
label |
A string with the label column name. |
Value
spark_jobj, shell_jobj
Examples
## Not run:
library(sparklyr)
sc <- spark_connect(master = "local")
vsc <- vs_context(sc)
labels <- vs_read_labels(vsc,
system.file("extdata/hipster_labels.txt",
package = "variantspark"))
labels
## End(Not run)
[Package variantspark version 0.1.1 Index]