rotTag {foodwebWrapper} | R Documentation |
rotTag
Description
add html tag to rotate function name
Usage
rotTag(v1, v2, colorMap)
Arguments
v1 |
character vector containing first row of matrix m (excluding first 2 entries of m) |
v2 |
character vector containing second row of matrix m (excluding first 2 entries of m) |
colorMap |
character array of colors |
Details
see https://stackoverflow.com/questions/47261100/how-to-rotate-text-90-degrees-inline also need to increase height of row to accommodate rotated text see https://resultuniversity.com/html/html-table-width-height#:~:text=To%20set%20the%20height%20of%20a%20specific%20row%20in%20an,property%20in%20pixels%20or%20percentages.
Value
returns character vector containing inserted html tags
Examples
if(interactive()){
load("data/x_m5.RData")
load("data/x_colorMap.RData")
rt<-rotTag(x_m5[1,c(-1,-2)],x_m5[2,c(-1,-2)],x_colorMap)
}
[Package foodwebWrapper version 1.1.0 Index]