View source: R/get_sample_size.R
get_sample_size | R Documentation |
Infer sample size from summary stats using MungeSumstats.
get_sample_size(
dat,
compute_n = c("ldsc", "giant", "metal", "sum"),
return_only = NULL,
force_new = FALSE,
standardise_headers = FALSE,
verbose = TRUE,
...
)
dat |
Fine-mapping results data. |
compute_n |
How to compute per-SNP sample size (new column "N").
|
return_only |
A function to return only a single value from the
inferred/imputed sample size column (e.g. |
force_new |
If "Neff" (or "N") already exists in |
standardise_headers |
Standardise headers first. |
verbose |
Print messages. |
... |
Additional argument passed to |
dat <- echodata::BST1
dat2 <- echodata::get_sample_size(dat = dat)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.