Learn R Programming

bioRad (version 0.9.1)

tidyverse: Tidyverse methods for bioRad objects

Description

Tidyverse methods for bioRad objects, currently only select is implemented. When dplyr or tidyverse is loaded the select method can be used to select parameters.

Usage

select.scan(.data, ...)

Arguments

.data

data object of class scan or pvol

...

other arguments

Examples

Run this code
if (require(dplyr, quietly = TRUE)) {
# locate example volume file:
pvolfile <- system.file("extdata", "volume.h5", package = "bioRad")

# load the file:
example_pvol <- read_pvolfile(pvolfile)
pvol_selected<-select(example_pvol, DBZH, ZDR) 
# Only selected parameters are retained in the pvol
get_scan(pvol_selected, 1.5)
# Also a series of parameters in a scan can be selected
select(get_scan(example_pvol, 2.5), VRADH:ZDR)
}

Run the code above in your browser using DataLab