h5_add_snp_info: Adding SNP information to an HDF5 file

Description Usage Arguments Value

Description

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

Usage

1
2
h5_add_snp_info(file_name = NULL, snp_id = NULL, snp_chr = NULL,
  snp_pos = NULL)

Arguments

file_name

Name of the HDF5 file to add the information to

snp_id

Vector of genotype ids that match the feature ids used in saving the genotype matrix.

snp_chr

Vector of genotype chromosomes in the same order as snp_id entries.

snp_pos

Vector of genotype positions in the same order as snp_id entries.

snp_info

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

Value

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


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