iupac2pomo: iupac2pomo

Description Usage Arguments Author(s) Examples

View source: R/iupac2pomo.r

Description

This function returns sites as IQ-TREE PoMo-like output.

Usage

1
2
iupac2pomo(dna, list.pos, chr = "1", wlen = 25000, start.by = NULL,
  end.by = NULL, threads = 1, pB = TRUE)

Arguments

dna

DNAStringSet

list.pos

population positions list

chr

set chromosome name

wlen

sliding window length for PoMo sites retrieval

start.by

optional start position

end.by

optional end position

threads

number of parallel threads

pB

specifies if progress should be shown as a progress bar

Author(s)

Kristian K Ullrich

Examples

1
2
3
4
5
6
7
8
data("MySequences", package = "distIUPAC")
CAS.pos<-5:34
AFG.pos<-82:87
SPRE.pos<-106:113
pop.list<-list(CAS.pos, AFG.pos, SPRE.pos)
names(pop.list)<-c("CAS", "AFG", "SPRE")
CAS.AFG.SPRE.pomo<-iupac2pomo(MySequences, list.pos = pop.list, threads = 2)
head(CAS.AFG.SPRE.pomo)

kullrich/distIUPAC documentation built on Jan. 9, 2020, 2:50 p.m.