joint_from_ids: conditional_from_ids

Description Usage Arguments Details Author(s) Examples

Description

Joint from ids conditional wrapper

Usage

1
2
joint_from_ids(res_preparation, rsids = NULL, idxs = NULL,
  return_only_these = F, joint = T, exact = F)

Arguments

rsids

character vector - SNPIDs in res preparation to perform CoCo analysis on.

idxs

integer vector - postiion in input data to condition on.

return_only_these

boolean

  • (T) = return the joint or conditional statistics for only SNPs in idxs or rsids vectors.

  • (F) = return the joint or conditional statistics for SNPs not in the idxs or rsids vectors.

joint

boolean

  • (T) = perform joint estimation.

  • (F) = perform conditional estimation

res_prepration

coco_data - the result of running the coco prep_dataset_common command.

Details

joint_from_idxs Performs a joint or conditional signals from a specific set of SNPs, or indexes.

Author(s)

James Boocock and Eli Stahl

Examples

1
2
3
4
data(coco_nek1)
res = joint_from_ids(rsids="rs10520157",coco_nek1,exact=T)
# Second hit rs4417927
res$res_step[res$res_step$rsid == "rs4417927",]

theboocock/coco documentation built on May 31, 2019, 9:10 a.m.