genetic_load_FUNSEQ_and_Consequence_summary: Computes FUNSEQ load and Consequence summary.

Description Usage Arguments Details Value

View source: R/utlis-genetic-load.R

Description

The funseq load for an individual is defined as: TODO

Usage

1
2
3
4
5
6
7
genetic_load_FUNSEQ_and_Consequence_summary(
  vcf_genotypes,
  vcf_annotation,
  chr,
  cores = 6,
  cut_off_val = 1.5
)

Arguments

vcf_genotypes

CollapsedVCF, genotypes vcf

vcf_annotation

CollapsedVCF -> VariantAnnotation::readVcf. The annotaion for the variants in vcf_genotypes

cores

int, the number of cores used for parallel computation. The computation is parallelized over the individuals (samples).

Details

NOTE: If an individual has non variant sites (i. e. 0|0) it wont be present in the results table.

Value

A list with two elements: FS_l (funseq load) and CSQ_s


santiago1234/phdpopgene documentation built on Dec. 31, 2020, 5:06 a.m.