posCalc {idiogramFISH} | R Documentation |
FUNCTION posCalc and fillMarkInfo
Description
calculates position of marks in fraction of (%) chromosome units (0-1)
Usage
posCalc(
dfMarkPos,
listOfdfChromSize,
bToRemove = "",
markDistType = "beg",
origin = "b",
showBandList = FALSE,
result = "tibble"
)
fillMarkInfo2(dfMarkPos, dfChrSize)
fillMarkInfo(dfMarkPos, dfChrSize, markDistType = "beg", origin = "b")
Arguments
dfMarkPos |
data.frame of marks' position |
listOfdfChromSize |
list (for |
bToRemove |
character, bands to remove from calc. of pos. |
markDistType |
markDistType character, if |
origin |
character, For non-monocentric chr. (for holocentrics only) Use |
showBandList |
boolean, show row of all bands in tibble, see |
result |
character, use |
dfChrSize |
data.frame of chr. sizes |
Value
list, tibble
data.frame of marks
data.frame of marks
Examples
load(system.file("shinyApps", "iBoard/www/rda/monoholoCS.rda", package = "idiogramFISH"))
load(system.file("shinyApps", "iBoard/www/rda/monoholoMarks.rda", package = "idiogramFISH"))
monoholoMarks2 <- fillMarkInfo(monoholoMarks, monoholoCS)
posCalc(monoholoMarks2, monoholoCS, result = "data.frame")