Learn R Programming

prewas (version 1.1.1)

collapse_snps_into_genes_by_impact: Collapse SNPs into the gene(s) which they are from and by snpeff impcat

Description

Collapse SNPs into the gene(s) which they are from and by snpeff impcat

Usage

collapse_snps_into_genes_by_impact(
  bin_mat,
  gene_vec,
  predicted_impact,
  snpeff_grouping
)

Arguments

bin_mat

Matrix.

gene_vec

Character. Vector of gene names.

predicted_impact

Character. Vector of predicted functional impacts.

snpeff_grouping

Character. Vector or single string of impacts of interest.

Value

a list of gene_mats, collapsed by gene and snpeff impact