Skip to contents

Data preparation

Usage

format_twas_dat(dat, E, E.info)

Arguments

dat

plink bfile

E

original gene expression matrix (list), the length of the list is the number of tissues, each element is a sample*gene matrix, rownames are sample id, colnames are gene id

E.info

data.frame with columns: chr, start, end, pos

Value

standard mtwas data format