
Last chance! 50% off unlimited learning
Sale ends in
This function converts a hail MatrixTable in a dataframe.
hail_dataframe(x)
a hail MatrixTable
A spark dataframe
# NOT RUN {
library(sparklyr)
sc <- spark_connect(master = "local", version = "2.4", config = hail_config())
hl <- hail_context(sc)
mt <- hail_read_matrix(hl, system.file("extdata/1kg.mt", package = "sparkhail"))
df <- hail_dataframe(mt)
df
# }
Run the code above in your browser using DataLab