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

Description Usage Arguments Value

View source: R/collapse_snps_by_gene.R

Description

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

Usage

1
2
3
4
5
6
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


prewas documentation built on April 2, 2021, 5:06 p.m.