Description Usage Arguments Value Author(s) References Examples
View source: R/do.noise.reduce.R
Reduce noise by change values below a specified threshold to that value, reducing the noise generated by 'negative' values
1 | do.noise.reduce(dat, use.cols, cutoffs)
|
dat |
NO DEFAULT. Data table of cells (rows) x features (columns) |
use.cols |
NO DEFAULT. A vector of column names – specifying which columns will have noise reduction applied to them |
cutoffs |
NO DEFAULT. A vector of numeric cutoff values for each of the use.cols – values below this threshold will be modified to the threshold value. |
Returns a data.table with the noise-reduced data added as new columns, including a 'noiseRed' suffix
Thomas M Ashhurst, thomas.ashhurst@sydney.edu.au
https://sydneycytometry.org.au/spectre.
1 2 3 4 5 | min(Spectre::demo.asinh$Ly6G_asinh) # Minimum value of CD11b_asinh should be -5.176318
res <- Spectre::do.noise.reduce(dat = Spectre::demo.asinh,
use.cols = names(Spectre::demo.asinh)[c(11:19)],
cutoffs = rep(0, 9))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.