Description Usage Arguments Value Examples
View source: R/hail_dataframe.R
This function converts a hail MatrixTable in a dataframe.
1 |
x |
a hail MatrixTable |
A spark dataframe
1 2 3 4 5 6 7 8 9 10 11 12 | ## 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
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.