Skip to contents

pheno_data component harvesting from columns of summary stats MatrixTable

Usage

pheno_data_sec_2df(
  m,
  section = 1,
  toget = c("n_cases", "n_controls", "heritability", "pop"),
  verbose = FALSE
)

Arguments

m

Struct returned from mt$cols()$collect()

section

numeric(1) element of pheno_data list to be transformed to data.frame

toget

character() vector of field names to retrieve

verbose

logical(1) if TRUE (NOT default) will message that there are multiple `pheno_data` components returned

Value

1 row data.frame

Note

applies top2df to the pheno_data component of input