Comments (1)
Hi,
My answer is not authoritative, Sofie or others will correct me.
transformList()
is a flowCore function, so your question should be addressed to flowCore package. An even better place is the bioconductor support, because you don't report a bug in fact.
So, CytoNorm's readme shows the use of cytofTransf which is defined in CytoNorm. Its code could help you to set up your own transform. The code is below. NB: we also have to add a reverse transform. So functions for Cytek based on your choice is something like that:
cytekTransform <- flowCore::arcsinhTransform(transformationId="cytekTransform",
a=0, b=(1/150), c=0)
cytofTransform.reverse <- function(x){
return(sinh(x)*150)
}
We have to use the flowCore definition because this allows to the flwoCore infrastructure.
IMHO 150 is too low for Cytek, I would start with a cofactor of 3000 (e.g. Importing and Transforming Spectral Flow Cytometry Data in https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8640183/)
Best,
Samuel
#' cytofTransform
#'
#' Arcsinh transformation with cofactor 5
#'
#' @param x Value to transform
#' @export
cytofTransform <- flowCore::arcsinhTransform(transformationId="cytofTransform",
a=0, b=(1/5), c=0)
#' cytofTransform.reverse
#'
#' @param x Value to tranform
#' Function to reverse arcsinh transformation with cofactor 5
#'
#' @export
cytofTransform.reverse <- function(x){
return(sinh(x)/(1/5))
}
from cytonorm.
Related Issues (20)
- Update needed for FlowSOM object update? HOT 3
- script is interrupted and doesn't produce output
- combine cytonorm with PeacoQC? HOT 2
- Cytonorm creating highly negative or very large values HOT 6
- testCV() Error in t.default(data) : argument is not a matrix HOT 4
- no output on cytonorm HOT 1
- Error in t.default(data) : argument is not a matrix
- What type of data should be used? HOT 1
- CytoNorm not working in R 4.2 HOT 1
- Differential marker expression after using Cytonorm
- prep.cytonorm does not keep original cellular.cols columns
- CytoNorm by Flowjo=> No normalized files created HOT 7
- Normalization question HOT 2
- Not a real issue, but rather I just don't understand how to read the testCV function results. Help? HOT 1
- CytoNorm for anaconda install HOT 3
- Error in the step of training the model HOT 2
- cytonorm error in if (any(idx)) { : missing value where TRUE/FALSE needed HOT 2
- Reading fcs files generated through PeacoQC by Cytonorm
- Any plans for a python implementation? HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cytonorm.