
Define data block for flow injection
Source:R/blocks_functions.R
orbi_define_block_for_flow_injection.Rdorbi_define_block_for_flow_injection() was renamed orbi_define_blocks() since it is not specific to flow injection
and can now define several blocks at once.
Usage
orbi_define_block_for_flow_injection(
dataset,
start_time.min = NULL,
end_time.min = NULL,
start_scan.no = NULL,
end_scan.no = NULL,
block_name = NA_character_,
sample_name = lifecycle::deprecated()
)Arguments
- dataset
An aggregated dataset or a data frame of peaks (i.e. works directly after
orbi_identify_isotopocules()as well as with a tibble from orbi_get_data(peaks = everything()) or when reading from an IsoX file)- start_time.min
start time of the block(s), a single value or a vector for multiple blocks
- end_time.min
end time of the block(s), a single value or a vector for multiple blocks. Use
Inffor a block that lasts until the end of each file.- start_scan.no
start scan of the block(s), a single value or a vector for multiple blocks
- end_scan.no
end scan of the block(s), a single value or a vector for multiple blocks. Use
Inffor a block that lasts until the last scan of each file.- block_name
name(s) for the block(s), a single value or a vector for multiple blocks,
NAby default (i.e. unnamed)- sample_name
renamed to
block_namesince the column it sets names the block rather than necessarily a sample