calculate_tissue_vectors: Calculate a tissue score vector for each SNP within a genetic...

Description Usage Arguments

View source: R/calculate_tissue_vectors.R

Description

This function takes the SNP annotations outputted from the annotate_snps function and the provided annotation weigths to yield a set of tissue scores that indicate how much of the fine-mapping/association signal can be apportioned to each tissue/cell type

Usage

1
2
3
4
5
6
7
calculate_tissue_vectors(
  snp.annotated.df,
  tissue_annotation_file,
  genomic_annotation_file,
  ess.annot = NULL,
  ess.file = NULL
)

Arguments

snp.annotated.df

Dataframe of annotated SNP info, this is output from annotate_snps function

tissue_annotation_file

Path to the input file of tissue annotation names and weights

genomic_annotation_file

Path to the input file of genomic annotation names and weights]

ess.annot

Optional: Name of genomic annotation requiring specificity scores (e.g. "coding")

ess.file

Optional: Path to the specificity score file for ess.annot, (e.g. expression specificity scores for coding annotations)


Jmtorres138/TACTICAL documentation built on April 4, 2021, 3:07 a.m.