add_snp_info_h5: Adding SNP information to an HDF5 file

Description Usage Arguments Value

View source: R/create_eqtl_input_h5.R

Description

Use in-memory objects to add SNP information to a given HDF5 file

Usage

1
2
add_snp_info_h5(file_name = NULL, snp_info = NULL, id_col = "id",
  chr_col = "chromosome", pos_col = "position")

Arguments

file_name

Name of the HDF5 file to add the information to

snp_info

Dataframe with SNP information for all SNPs present in genotypes/matrix

id_col

Column name of snp_info that contains id information

chr_col

Column name of snp_info that contains chromosome information

pos_col

Column name of snp_info that contains position information

Value

Saves the given objects into the hdf5 generated by the create_eqtl_input_h5() function.


jinhyunju/eQTLtools documentation built on May 19, 2019, 10:35 a.m.