edammer / tampor Goto Github PK
View Code? Open in Web Editor NEWTunable Approach for Median Polish of Ratio -- Biological Abundance Batch Effect Removal
License: MIT License
Tunable Approach for Median Polish of Ratio -- Biological Abundance Batch Effect Removal
License: MIT License
Hi Eric,
I tried running my data through TAMPOR. The normalization finishes, but no result is returned due to the error:
...Reached convergence criterion (Frobenius Norm Difference)<1e-8!
Error in `[.data.frame`(ratioCleanDatUnnorm, , match(rownames(traits), :
undefined columns selected
My call to TAMPOR looks like:
TAMPOR_results <- TAMPOR(
dat = cleanDat,
traits = traits,
noGIS = FALSE,
useAllNonGIS = FALSE,
batchPrefixInSampleNames = TRUE,
GISchannels = controls$channel,
iterations = 250,
samplesToIgnore = "NONE",
meanOrMedian = "median",
removeGISafter = FALSE,
minimumBatchSize = 5,
parallelThreads=2,
outputSuffix = "TAMPOR",
path=getwd()
)
I'll send you an email with cleanDat.Rds
and traits.Rds
so you can try to reproduce the error.
This error appears when a large input data set (dat data frame or matrix input) includes many zeros or negative values on one row. The code should convert them to NA after displaying the first 10 bad rows. The error is being thrown by code trying to display these rows of dat as comma separated strings.
For now, one can avert the error by pre-cleaning dat input as follows:
dat[dat<=0] <- NA
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.