s_hat_bigsnp: Step Two of bigsnp2mashr

Description Usage Arguments

View source: R/pvdiv_bigsnp2mashr.R

Description

Step Two of bigsnp2mashr

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
s_hat_bigsnp(
  path,
  gwas_rds,
  phenotype,
  top_set,
  random_sample,
  scaled = TRUE,
  markers = NULL,
  markers2 = NULL,
  model = c("linear", "logistic"),
  clump = TRUE
)

Arguments

path

Path

gwas_rds

RDS file with gwas results

phenotype

Character vector. Single phenotype name

top_set

Top markers chosen

random_sample

Numeric vector. Random sample of SNPs

scaled

Logical. Should effect sizes and std errors be scaled?

markers

Marker names for the GWAS you ran

markers2

Markers to include if SNPs are LD clumped.

model

One of linear or logistic. Type of GWAS model.

clump

Logical. Clump SNPs?


Alice-MacQueen/switchgrassGWAS documentation built on Jan. 23, 2022, 7:55 p.m.