acquire row names of a Hail Table, assuming key has been set
Source:R/rownames.R
rownames-hail.table.Table-method.Rd
acquire row names of a Hail Table, assuming key has been set
Usage
# S4 method for class 'hail.table.Table'
rownames(x, do.NULL = TRUE, prefix = "row")
Examples
hl <- hail_init()
annopath <- path_1kg_annotations()
tab <- hl$import_table(annopath, impute = TRUE)$key_by("Sample")
rt <- rownames(tab)
length(rt)
#> [1] 3500
head(rt)
#> [1] "HG00096" "HG00097" "HG00098" "HG00099" "HG00100" "HG00101"