Comments (7)
The function doQCRLSC will add a new column "valueNorm" into the para@peaksData data frame. So you can export the normalized intensity generated by doQCRLSC using the following method:
para <- doQCRLSC(...)
tab <- getPeaksTable(para, valueID = 'valueNorm')
from metax.
Thanks for your immediate reply! @wenbostar
Actually, I checked the change in para@peaksData data frame before and after running the same code of doQCRLSC and getPeaksTable as you wrote in your reply, and I didn't find the new column "valueNorm" come out. Here's the output of getPeaksTable:
> tab <- getPeaksTable(para, valueID = 'valueNorm')
value = valueNorm
Error: value.var (valueNorm) not found in input
The version of my metaX package is 1.4.16. Would it be the problem from different version of metaX?
from metax.
Could you please provide an reproducible example?
from metax.
Here's a my example using built-in data sample within metaX package:
library(metaX)
para <- new("metaXpara")
pfile <- system.file("extdata/MTBLS79.txt",package = "metaX")
sfile <- system.file("extdata/MTBLS79_sampleList.txt",package = "metaX")
rawPeaks(para) <- read.delim(pfile,check.names = FALSE)
sampleListFile(para) <- sfile
para <- reSetPeaksData(para)
res <- doQCRLSC(para,cpu=1, impute = FALSE)
tab <- getPeaksTable(para, valueID = 'valueNorm')
Notably, returned value of the function doQCRLSC was a list of CV summary before and after QC-RSC, so I chose to use another variable name ‘res’ in case the original 'para' was covered.
from metax.
Sorry to bother you again, but please let me know if I need to provide anything else for this example. @wenbostar
from metax.
Sorry for the late reply. Below please find the right way to export the normalized data:
library(metaX)
para <- new("metaXpara")
pfile <- system.file("extdata/MTBLS79.txt",package = "metaX")
sfile <- system.file("extdata/MTBLS79_sampleList.txt",package = "metaX")
rawPeaks(para) <- read.delim(pfile,check.names = FALSE)
sampleListFile(para) <- sfile
para <- reSetPeaksData(para)
res <- doQCRLSC(para,cpu=1, impute = FALSE)
tab <- getPeaksTable(res$metaXpara, valueID = 'valueNorm')
from metax.
It works!
Thanks for your patience!
from metax.
Related Issues (18)
- metaX installation problems HOT 3
- Error in function doQCRLSC() HOT 11
- No installation support: bioconductor has marked as deprecated HOT 5
- Error in peakStat: object 'pcaColor' not found HOT 3
- 请教doQCRLSC HOT 1
- package deprecated? HOT 1
- metaX plotting functions? HOT 4
- The website is not available HOT 1
- scale the data based on each individual paired group? HOT 1
- error about the function doQCRLSC in examples HOT 1
- Warning in R ver. 3.4.3 when install xcms HOT 4
- no definition for class “mvr” HOT 1
- questions about QC-based batch correction implemented in metaX package HOT 5
- Questions about data-processing 0f metabolomic data HOT 9
- Question on exporting results of intermediate process in metaX HOT 9
- pqn HOT 3
- metaX installation failed HOT 1
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 metax.