View source: R/filter_endPoint_info.R
filter_groups | R Documentation |
This function provides a mechanism to specify 3 levels of information in the
supplied data frame end_point_info
to be used in subsequent analysis steps.
First, the user specifies the ToxCast assay annotation using the 'groupCol'
argument, which is a column header in 'end_point_info'. Second, the user
specifies the families of assays to exclude. Finally, the user can choose to
remove specific group(s) from the category. The default is to remove
'Background Measurement' and 'Undefined'. Choices for this should be
reconsidered based on individual study objectives.
filter_groups(
ep,
groupCol = "intended_target_family",
remove_assays = c("BSK"),
remove_groups = c("Background Measurement", "Undefined")
)
ep |
Data frame containing Endpoint information from ToxCast |
groupCol |
Character name of ToxCast annotation column to use as a group category |
remove_assays |
Vector of assays to EXCLUDE in the data analysis. By default, the "BSK" (BioSeek) assay is removed. |
remove_groups |
Vector of groups within the selected 'groupCol' to remove. |
The default category ('groupCol') is 'intended_target_family'. Depending on the study, other categories may be more relevant. The best resource on these groupings is the "ToxCast Assay Annotation Data User Guide". It defines "intended_target_family" as "the target family of the objective target for the assay". Much more detail can be discovered in that documentation.
end_point_info <- end_point_info
cleaned_ep <- clean_endPoint_info(end_point_info)
filtered_ep <- filter_groups(cleaned_ep)
head(filtered_ep)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.