| ras_sumstats_report | R Documentation |
A non-fatal report on how an external summary-statistics file lines up with a
local genotype map: which ID convention each side uses, the suggested route,
how many variants overlap by ID, what the build gate would say, and how the
overlap is distributed along the chromosome. Run this before
ras_harmonize_sumstats to see what the gates will do without
triggering them.
ras_sumstats_report(ss, map, cols = list(), block_size = 500L)
ss |
Data frame of summary statistics, or a path to one. |
map |
The local genotype map ( |
cols |
Optional column-name overrides. |
block_size |
Integer. Window, in variants, for the coverage profile. |
The coverage line matters more here than in a PRS setting: RAS's statistic is regional, so weights that are missing in one stretch of the chromosome remove the scan's ability to detect there, rather than merely weakening it overall.
Invisibly, a list with plan, n_id, build and
blocks. Called for the report it prints.
ras_harmonize_sumstats
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.