tss_tts.tajima: extract relative position of polymorphisms in relation to...

View source: R/tss_tts.tajima.R

tss_tts.tajimaR Documentation

extract relative position of polymorphisms in relation to gene bodies

Description

extract relative position of polymorphisms in relation to gene bodies

Usage

tss_tts.tajima(
  gff,
  tajima,
  chrs = "all",
  num = "all",
  loc = "both",
  feature = "gene"
)

Arguments

gff

directory and file name of reference gff OR data.table object of gff data

tajima

directory and file name tajima data OR data.table object of tajima data (data.table with CHROM, BIN_START, N_SNPS, and TajimaD columns)

chrs

selection specific chromosomes, default is "all"

num

set number of genes, default is "all

loc

"tss" or "tts"

feature

name of the feature in the gff data that you want to look in relation to, default is "gene"

Value

data.table with pos and D columns


greymonroe/polymorphology documentation built on Aug. 6, 2023, 1:33 a.m.