params | R Documentation |
Retrieve or assign linear transformation parameters for an xCell2Object.
Retrieve or assign linear transformation parameters for cell types for an xCell2Object.
getParams(object)
setParams(object) <- value
## S4 method for signature 'xCell2Object'
getParams(object)
## S4 replacement method for signature 'xCell2Object'
setParams(object) <- value
object |
An xCell2Object. |
value |
A data frame of transformation parameters (for the setter). |
For 'getParams', a data frame of transformation parameters. For 'setParams<-', the updated xCell2Object.
For 'getParams', a data frame of transformation parameters. For 'setParams<-', the updated xCell2Object.
xCell2Object-class
xCell2Object-class
data(DICE_demo.xCell2Ref, package = "xCell2")
setParams(DICE_demo.xCell2Ref) <- data.frame(celltype = "T_cells", a = 0.5, b = 2, m = 1.5)
getParams(DICE_demo.xCell2Ref)
data(DICE_demo.xCell2Ref, package = "xCell2")
setParams(DICE_demo.xCell2Ref) <- data.frame(celltype = "B_cells", a = 0.6, b = 1.8, m = 2.1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.