vascr_subset | R Documentation |
Subset a vascr data set based on a number of factors
vascr_subset(
data.df,
time = NULL,
unit = NULL,
well = NULL,
frequency = NULL,
experiment = NULL,
instrument = NULL,
sampleid = NULL,
sample = NULL,
subsample = NULL,
remove_na_value = TRUE,
remove_excluded = TRUE
)
data.df |
vascr data set to subset |
time |
Specified times. Individual values in a list will be subset out. If vectors are present in the list, values between the two most extreme values will be returned. |
unit |
Units to subset. These are checked for integrity against possible units and the dataset itself |
well |
Wells to select |
frequency |
Frequencies to include in the data set. |
experiment |
Experiments to include in the data set. Can be addressed either by name, or by the numerical order that they were loaded into vascr_combine in |
instrument |
Which instruments to include values from |
sampleid |
List of ID's to be used. Sample names will be re-ordered accordingly for display. |
sample |
Sample to subset |
subsample |
Frequency values should be sub-sampled to |
remove_na_value |
Should NA values be removed (default true) |
remove_excluded |
Should excluded values be removed (default true) |
The subset dataset, based on the values selected
vascr_subset(growth.df)
vascr_subset(growth.df, time = 40)
vascr_subset(growth.df, time = NULL)
vascr_subset(growth.df, unit = "Rb")
vascr_subset(growth.df, unit = "R")
vascr_subset(growth.df, well = "A1")
vascr_subset(growth.df, time = c(5,20))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.