Learn R Programming

prewas (version 1.1.1)

collapse_snps_into_genes: Collapse SNPs into the gene(s) which they are from

Description

Collapse SNPs into the gene(s) which they are from

Usage

collapse_snps_into_genes(bin_mat, gene_vec)

Arguments

bin_mat

Matrix.

gene_vec

Character. Vector of gene names.

Value

gene_mat: Matrix.