label2DMap: This function assigns a label to contour map

Usage Arguments

View source: R/bmd_TD.R

Usage

1
2
3
4
label2DMap(map, BMD, coord, myContour, th = 0.95, mode = "mix",
  nDoseInt = 3, nTimeInt = 3, doseLabels = c("Late", "Middle",
  "Early"), timeLabels = c("Sensitive", "Intermediate", "Resilient"),
  toplot = FALSE)

Arguments

map

matrix containing the z-map for a specific gene or cluster prototype

BMD

matrix containing the dose-response area

coord

matrix with x and y coordinate. The first column contain the doses, while the second one the time points

myContour

matrix with coordinate of bmd area border

th

a threshold to define the portion of dose-response area to be identified as labels for the gene.

mode

is a character specifying when an area is called active. values can be "cumulative" or "presence". If presence, an area is called active if at least one of its pixel is on the BMD curve. If cumulative, the number of region needed to reach the th

\item

nDoseIntnumber of dose related breaks in the gene label's table. default is 3

\item

nTimeIntnumber of time related breaks in the gene label's table. default is 3

\item

doseLabelsvector of colnames (doses) for the gene label's table. default is c("Sensitive","Intermediate","Resilient")

\item

timeLabelsvector of rownames (time points) for the gene label's table. default c("Late","Middle","Early")

\item

nDoseIntnumber of dose related breaks in the gene label's table. default is 3

\item

nTimeIntnumber of time related breaks in the gene label's table. default is 3

\item

doseLabelsvector of colnames (doses) for the gene label's table. default is c("Sensitive","Intermediate","Resilient")

\item

timeLabelsvector of rownames (time points) for the gene label's table. default c("Late","Middle","Early")

a list with 9x9 matrices specifying if the gene is active at low, mid or high time points and dose levels This function assigns a label to contour map


angy89/TinderMIX documentation built on Nov. 26, 2020, 9:26 p.m.