drop_finemap_cols: Drop fine-mapping columns

View source: R/drop_finemap_cols.R

drop_finemap_colsR Documentation

Drop fine-mapping columns

Description

Drop all method-specific and/or multi-tool summary columns from data. This is helpful when ensuring duplicate columns aren't created when re-running fine-mapping with the same method.

Usage

drop_finemap_cols(
  dat,
  finemap_methods = NULL,
  summary_cols = c("Support", "Consensus_SNP", "mean\\.PP"),
  verbose = TRUE
)

Arguments

dat

Fine-mapping results data.

finemap_methods

Fine-mapping methods to run. See lfm for a list of all fine-mapping methods currently available.

summary_cols

Multi-tool summary columns to drop.

verbose

Print messages.

Examples

dat2 <- echofinemap::drop_finemap_cols(dat=dat)

RajLabMSSM/echofinemap documentation built on Jan. 3, 2023, 1:42 a.m.