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

View source: R/collapse_snps_by_gene.R

collapse_snps_into_genes_by_impactR Documentation

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


Snitkin-Lab-Umich/prewas documentation built on April 23, 2023, 8:22 p.m.