convertSampleInfo | R Documentation |
Convert .raw file header information from either grover::sampleInfo()
,
grover::runInfo()
or rawrrr::readFileHeader()
into a sample information format compatible
with binneR
or profilePro
.
convertSampleInfo(
sample_info,
gzip_ext = TRUE,
user_text = c("batch", "block", "class", "rawFileOrder", "sampleOrder")
)
sample_info |
a tibble containing sample information as returned from from either |
gzip_ext |
add a |
user_text |
the column names for the five |
A tibble containing converted sample information.
## Read the file header information from an example .raw file in the
## grover package available from <https://jasenfinch.github.io/grover/>
sample_information <- system.file(
'repository/Thermo-Exactive/Experiment_1/QC01.raw',
package = 'grover') %>%
rawrr::readFileHeader() %>%
tibble::as_tibble()
## Convert the header information
converted_sample_info <- convertSampleInfo(
sample_information,
user_text = c('batch','block','name','class','rawFileOrder'))
converted_sample_info
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.