FMtables: Formats flashfm output to table format

View source: R/FMtables.R

FMtablesR Documentation

Formats flashfm output to table format

Description

Formats flashfm output to table format

Usage

FMtables(
  PP,
  SW = NULL,
  stepwise = F,
  method = "FineMap",
  regname,
  path.input,
  path.output,
  trait.id,
  trait.names = NULL
)

Arguments

PP

MFM:::MPP.PP.groups.fn output from 'flashfm' in Rdata format.

SW

stepwise list of results from Stepwise model. By def. = NULL

stepwise

TRUE if list of results from sw is provided. By def. = FALSE

method

name of the method used for the FineMap eg: 'FineMap', 'JAM' etc. By def. = FineMap

regname

Region name for table caption

path.input

path where the input files are located.

path.output

path to save the output latex table.

trait.id

id. number if the traits.

trait.names

trait names. If not provided a vector is constructed. 'Trait_1', 'Trait_2', ...

Value

Table results as txt file.

Author(s)

Nico Hernandez


jennasimit/flashfm documentation built on July 31, 2022, 7:32 p.m.