This function reads two data.frames the one with chromosome sizes, and one df
with data of marks (sites) both have to have the column chrName
and if
several species, OTU
. The functions returns a filtered list with 1.
data.frame of
chrSizes,
2. data.frame of marks, 3. mark names 4. max mark size.
checkNameChrDfMarks(listOfdfChromSize, listOfdfMarks)
list of data.frames, with columns: OTU (optional), chrName, for chr. with cen.: shortArmSize, longArmSize, for holoc.: chrSize
list of data.frames of marks (sites): OTU (opt / mandat. if in dfChrSize), chrName markName markSize, for chr. with cen.: chrRegion (p,q) markDistCen, for holoc: markPos
list