Description Usage Arguments Value Examples
Read in chuncks of an FT-ICR-MS file
1 2 |
fileIn |
a string identifying the csv file to read our FT-ICR-MS data from |
massHeader |
an array of strings or single string naming the mass to charge header |
sampleRegStr |
a regular expression matching the sample headers (and ONLY the sample headers) |
samplesToRead |
an array of indecies or regular expression or array of names of the samples to be read in |
verbose |
boolean flag for verbose outputs |
a data frame with the long table format with the mass ID, sample ID, and intensity
1 2 3 4 5 6 | ##read samples by index (note this is the Nth sample not the Nth column)
#readFTICR(fileIn='testfile.csv', samplesToRead=1:2)
##read samples by regular expression match of sample name
#readFTICR(fileIn='testFile.csv', samplesToRead='out2\\d')
##read samples by matched name
#readFTICR(fileIn='testFile.csv', samplesToRead=c('X.out20', 'X.out21'))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.