Pi_S.par: Calculate Pi_S based on intergenic loci. This is obtained by...

View source: R/picalc.R

Pi_S.parR Documentation

Calculate Pi_S based on intergenic loci. This is obtained by excluding all exonic loci.

Description

Calculate Pi_S based on intergenic loci. This is obtained by excluding all exonic loci.

Usage

Pi_S.par(TH, exon.all, nSNP = NA, cores = 15)

Arguments

TH

Site-wise theta calculated using ANGSD

exon.all

Coordinates of all gene models

nSNP

If given, divides the total Pi with the given number of SNPs.

cores

Number of cores for parallel computation

Value

a list with Pi from intergenic regions, chromosome-wise cumulative sums and numbers of SNPs.


jsalojar/PiNSiR documentation built on Nov. 1, 2023, 1:47 p.m.