Package aop. December 5, 2016

Similar documents
Package catenary. May 4, 2018

Package cattonum. R topics documented: May 2, Type Package Version Title Encode Categorical Features

Package NFP. November 21, 2016

Package IncucyteDRC. August 29, 2016

Package sigqc. June 13, 2018

Package wethepeople. March 3, 2013

Package cosinor. February 19, 2015

Package ASICS. January 23, 2018

Package MetaLonDA. R topics documented: January 22, Type Package

Package pcr. November 20, 2017

Package quickreg. R topics documented:

Package bisect. April 16, 2018

Package survclip. November 22, 2017

Package datasets.load

Package MTLR. March 9, 2019

Package GFD. January 4, 2018

Package clusternomics

Package PCADSC. April 19, 2017

Package RNAseqNet. May 16, 2017

Package preprosim. July 26, 2016

Package metaheur. June 30, 2016

Package dyncorr. R topics documented: December 10, Title Dynamic Correlation Package Version Date

Package BASiNET. October 2, 2018

Package TMixClust. July 13, 2018

Package blandr. July 29, 2017

Package fastdummies. January 8, 2018

Package skynet. December 12, 2018

Package ezsummary. August 29, 2016

Package fbroc. August 29, 2016

Package WordR. September 7, 2017

Package infer. July 11, Type Package Title Tidy Statistical Inference Version 0.3.0

Package anidom. July 25, 2017

Package omu. August 2, 2018

Package geojsonsf. R topics documented: January 11, Type Package Title GeoJSON to Simple Feature Converter Version 1.3.

Package QCAtools. January 3, 2017

Package braqca. February 23, 2018

Package simtool. August 29, 2016

Package TANDEM. R topics documented: June 15, Type Package

Package rsppfp. November 20, 2018

Package tidylpa. March 28, 2018

Package fitbitscraper

Package spcadjust. September 29, 2016

Package modmarg. R topics documented:

Package epitab. July 4, 2018

Package climber. R topics documented:

Package biosigner. March 6, 2019

Package splithalf. March 17, 2018

Package nplr. August 1, 2015

Package detectruns. February 6, 2018

Package seqcat. March 25, 2019

Package crossword.r. January 19, 2018

Package ECctmc. May 1, 2018

Package cgh. R topics documented: February 19, 2015

Package kdtools. April 26, 2018

Package svalues. July 15, 2018

Package PDN. November 4, 2017

Package balance. October 12, 2018

Package ggimage. R topics documented: December 5, Title Use Image in 'ggplot2' Version 0.1.0

Package interplot. R topics documented: June 30, 2018

Package preprocomb. June 26, 2016

Package dupradar. R topics documented: July 12, Type Package

Package dkanr. July 12, 2018

Package texteffect. November 27, 2017

Package reconstructr

Package Hapi. July 28, 2018

OECD QSAR Toolbox v.4.1. Example illustrating endpoint vs. endpoint correlation using ToxCast data

Package qualmap. R topics documented: September 12, Type Package

Package docxtools. July 6, 2018

Package EpiSignalDetection

Package ClusterSignificance

Package linkspotter. July 22, Type Package

Package gggenes. R topics documented: November 7, Title Draw Gene Arrow Maps in 'ggplot2' Version 0.3.2

Package condir. R topics documented: February 15, 2017

Package mapsapi. March 12, 2018

Package algorithmia. September 13, 2016

Package condusco. November 8, 2017

Package scmap. March 29, 2019

Package SEMrushR. November 3, 2018

Package editdata. October 7, 2017

Package hypercube. December 15, 2017

Package BDMMAcorrect

Package weco. May 4, 2018

Package CausalImpact

Package OLScurve. August 29, 2016

Package postal. July 27, 2018

Package confidence. July 2, 2017

Package nltt. October 12, 2016

Package kirby21.base

Package reval. May 26, 2015

Package ecotox. June 28, 2018

Package dalmatian. January 29, 2018

Package superheat. February 4, 2017

Package intcensroc. May 2, 2018

Package canvasxpress

Package facerec. May 14, 2018

Package goodpractice

Package dynsim. R topics documented: August 29, 2016

Package gppm. July 5, 2018

Package rgho. R topics documented: January 18, 2017

Package vinereg. August 10, 2018

Transcription:

Type Package Title Adverse Outcome Pathway Analysis Version 1.0.0 Date 2015-08-25 Package aop December 5, 2016 Author Lyle D. Burgoon <Lyle.D.Burgoon@usace.army.mil> Maintainer Lyle D. Burgoon <Lyle.D.Burgoon@usace.army.mil> Provides tools for analyzing adverse outcome pathways (AOPs) for pharmacological and toxicological research. Functionality includes the ability to perform causal network analysis of networks developed in and exported from Cytoscape or existing as R graph objects, and identifying the point of departure/screening/risk value from concentrationresponse data. License CC0 Suggests RUnit, knitr, rmarkdown, BiocGenerics Imports graph (>= 1.38.3), rjson (>= 0.2.14), igraph (>= 0.7.1), Rgraphviz (>= 2.10.0), methods, plyr (>= 1.8.3), ggplot2 (>= 1.0.1), splines VignetteBuilder knitr LazyData true Collate 'aopcytoscape_class.r' 'aop_cytoscape_methods.r' 'aop_graph_analysis.r' 'bmr_class.r' 'pod_analysis.r' NeedsCompilation no Repository CRAN Date/Publication 2016-12-05 18:28:47 R topics documented: aop_backdoor........................................ 2 aop_cytoscape-class..................................... 3 bmr-class.......................................... 3 bootstrap_metaregression.................................. 4 1

2 aop_backdoor calculate_confidence_and_median............................. 4 convert_aop_to_graph.................................... 5 convert_cytoscape_to_aop................................. 6 getaopnodename..................................... 6 internal_model_fits..................................... 7 oxybenzone......................................... 8 plot_metaregression_confidence_envelope......................... 8 plot_metaregression_spaghetti_plot............................ 9 plot_slope_analysis..................................... 10 pod_envelope_analysis................................... 10 pod_slope_analysis..................................... 11 slope_pod_analysis..................................... 12 Index 13 aop_backdoor Backdoor Causal Network Analysis for AOPs Performs a backdoor causal network analysis to idenitfy nodes/key events which are sufficient to infer causality. aop_backdoor(aop_graph, ke_coord, ao_coord, measureable_nodes = NULL) aop_graph a graphnel object that encodes the AOP. Typically, this would be output from the convert_aop_to_graph function. ke_coord typically this is the molecular initiating event node, but really, this is any node that you want as the starting/source point. For instance, this is normally the point at which exposure to a stressor is going to enter the AOP. ao_coord typically this is the adverse outcome node. measureable_nodes this param is not used yet. In the future this node will be a vector of the nodes where an assay is available to measure the node. In a future release this param will focus the backdoor algorithm on finding only those nodes for which measurements can actually be taken, as opposed to causal nodes regardless of our ability to measure them. This allows for the assumption that AOP key events may or may not be measureable. This function performs Pearl s backdoor analysis. Whereas Pearl was interested in identifying nodes which need to be measured to make a causal statement, we are interested in identifying those nodes/key events which need to measured to say that an adverse outcome is likely to occur. It s essentially the same thing as Pearl, only a slightly different interpretation.

aop_cytoscape-class 3 causal_nodes vector a vector of the names of the causal nodes. steatosis_json_file <- system.file("extdata", "steatosis_aop_json.cyjs", package = "aop") steatosis_aop <- convert_cytoscape_to_aop(steatosis_json_file) steatosis_aop_graph <- convert_aop_to_graph(steatosis_aop) aop_backdoor(steatosis_aop_graph, "391", "388") aop_cytoscape-class aop_cytoscape class Creates an object of class aop_cytoscape Slots name: Object of class "character", containing the name of the AOP. nodes: Object of class "list", containing the list of nodes. edges: Object of class "list", contianing the list of edges. Author(s) Lyle D. Burgoon bmr-class bmr class Creates an object of class bmr (bootstrap metaregression) Slots models: Object of class "list", containing the models. fits: Object of class "list", containing the model fit predictions. medians: Object of class "vector", containing the medians. confidence_envelope: Object of class "data.frame", containing the lower and upper confidence bounds. Author(s) Lyle D. Burgoon

4 calculate_confidence_and_median bootstrap_metaregression Perform Bootstrap Metaregression Performs bootstrap metaregression on a concentration-response dataset. bootstrap_metaregression(x, dataset_size, iterations = 1000) x an object of class data.frame. dataset_size a numeric object with the size of an individual dataset in x. iterations the number of iterations to run; default is 1,000. This function performs bootstrap metaregression on a concentration-response dataset. The dataset must be a data.frame with two columns: 1) Activity and 2) Concentration. bmr_obj a bmr object that holds all of the bootstrap metaregression models produced. calculate_confidence_and_median Calculate the confidence envelope and the median for the bootstrap metaregression concentration response models. Calculates the 95 concentration-response data. calculate_confidence_and_median(bootstrap_metaregression_obj)

convert_aop_to_graph 5 bootstrap_metaregression_obj the object that contains the bootstrap metaregression models as a bmr object. This is an internal function that calculates the 95 the median for concentration-response data. It is called by the bootstrap_metaregression function. bmr_obj a bmr object that holds all of the bootstrap metaregression models produced. convert_aop_to_graph Convert AOP to Graph Converts an AOP (encoded as aop_cytoscape object) to a graphnel object. convert_aop_to_graph(aop) aop an object of class aop_cytoscape. This function converts an aop_cytoscape object to a graphnel object. This allows us to perform graph-based analyses of the AOP. aop_graph a graphnel object representation of the AOP library(graph) steatosis_json_file <- system.file("extdata", "steatosis_aop_json.cyjs", package = "aop") steatosis_aop <- convert_cytoscape_to_aop(steatosis_json_file) steatosis_aop_graph <- convert_aop_to_graph(steatosis_aop) plot(steatosis_aop_graph)

6 getaopnodename convert_cytoscape_to_aop Convert Cytoscape Graph to an AOP Converts a cytoscape JSON file to an aop_cytoscape-class object. convert_cytoscape_to_aop(file) file a Cytoscape JSON file. This function converts a JSON file exported from Cytoscape into a aop_cytoscape-class object. Once an aop_cytoscape-class object, we can perform conversion to a graphnel object, and then perform graph-based analyses. aop a aop_cytoscape-class object. steatosis_json_file <- system.file("extdata", "steatosis_aop_json.cyjs", package = "aop") steatosis_aop <- convert_cytoscape_to_aop(steatosis_json_file) getaopnodename Get Node Name from ID Given an id, this method returns an aop_cytoscape node name. getaopnodename(theobject, id) ## S4 method for signature 'aop_cytoscape' getaopnodename(theobject, id)

internal_model_fits 7 theobject is an AOP as an object of class aop_cytoscape. id an object of class character such as "389". the name of the node library(graph) steatosis_json_file <- system.file("extdata", "steatosis_aop_json.cyjs", package = "aop") steatosis_aop <- convert_cytoscape_to_aop(steatosis_json_file) getaopnodename(steatosis_aop, "389") internal_model_fits An internal function for calculating interpolation values. An internal function for calculating interpolation values. internal_model_fits(bmr_model, interval) bmr_model interval a model of class lm based on a bootstrap natural splin metaregression of concentrationresponse data. a numeric value that specifies how large the interval should be between each value used for interpolation. temp_df a data.frame consisting of concentration and activity columns that represent the interpolated model-based response/activity values.

8 plot_metaregression_confidence_envelope oxybenzone High Throughput Screening Data (Tox21) for Assessing the Estrogenicity of Oxybenzone A dataset containing the concentration-response data for analyzing the estrogenicity of oxybenzone from PubChem (Assay ID: 743075, Substance ID: 144209183, Chemical ID: 4632; Assay ID: 743079, Substance ID: 144203969 Chemical ID: 4632). 125 rows. 58 rows x 4 cols/variables. data(oxybenzone) Format A data frame with 58 rows and 4 variables AssayDataset DatasetReplicate Concentration Activity AssayDataset. Coded value (1/2) that corresponds to an Assay ID DatasetReplicate. This is the "biological" replicate within an AssayDataset (1 3) Concentration. This is the concentration of the chemical in the assay (5.55694e-04 7.03500e+01) Activity. This is the assay activity. Percent response for these assays. (1.646933e-03 1.140800e+02) plot_metaregression_confidence_envelope Plot the metaregression confidence envelope and median results from the bootstrap metaregression models. A function to plot the metaregression confidence envelope and median results from the bootstrap metaregression models. plot_metaregression_confidence_envelope(bootstrap_metaregression_obj, graph_pod = FALSE, pod, pod_threshold, median_line_color = "orange", pod_and_threshold_color = "green")

plot_metaregression_spaghetti_plot 9 bootstrap_metaregression_obj the object that contains the bootstrap metaregression models as a bmr object. graph_pod pod a boolean that determines if the point of departure will be displayed on the graph. the chemical s point of departure as a numeric value pod_threshold the threshold value used to calculate the chemical s point of departure. median_line_color the color for the median line, default is "orange". pod_and_threshold_color the color of the POD and threshold "crosshairs" on the plot. The default is "green". slope_pod <- slope_pod_analysis(bmr_obj, 0.0001, 10, 0.1) pod_and_threshold <- pod_envelope_analysis(bmr_obj, slope_pod, 10, min(oxybenzone$concentration), max(oxybenzone$concentration), 0.1) plot_metaregression_confidence_envelope(bmr_obj, graph_pod = TRUE, pod = pod_and_threshold$pod, pod_threshold=pod_and_threshold$threshold) plot_metaregression_spaghetti_plot Make a spaghetti plot for the metaregression results Plots a subset of the metaregression results. plot_metaregression_spaghetti_plot(bootstrap_metaregression_obj, number_to_plot = 100) bootstrap_metaregression_obj the object that contains the bootstrap metaregression models as a bmr object. number_to_plot the number of bootstrap metaregression concentration-response models to plot. The default is 100 models. This function plots the concentration-response curves for a subset of the metaregression models generated.

10 pod_envelope_analysis plot_metaregression_spaghetti_plot(bmr_obj, number_to_plot=40) plot_slope_analysis Plot the median slope This simply plots the slope as a function of concentration. plot_slope_analysis(pod_slope_data, yaxis_limit = FALSE, yaxis_limit_values) pod_slope_data the data.frame object that contains the concentration and slope data. yaxis_limit a boolean value (default is FALSE) that identifies if the user wants to specify y-axis limits. yaxis_limit_values a two-element vector that specifies the y-axis limits. For instance yaxis_limit_values = c(0, 20). slope_pod <- slope_pod_analysis(bmr_obj, 0.0001, 10, 0.1) plot_slope_analysis(slope_pod, TRUE, c(0,30)) pod_envelope_analysis This function calculates the chemical s point of departure. This function calculates the chemical s point of departure based on the concentration-response data. pod_envelope_analysis(bmr_obj, slope_data, slope_threshold = 1, lower_interpolation_range, upper_interpolation_range, interval_size, agonist_assay = TRUE)

pod_slope_analysis 11 bmr_obj slope_data a bmr object that holds all of the bootstrap metaregression models produced. the data.frame object that contains the concentration and slope data. slope_threshold the numeric object that sets the threshold for the slope. This determines the upper bound on the concentration range that is determined to be the asymptote. In other words, the asymptote is defined as that region that has a slope less than the threshold at the lower end of the concentration-response curve. lower_interpolation_range a numeric value where the interpolation should be bounded on the lower end. upper_interpolation_range a numeric value where the interpolation should be bounded on the upper end. interval_size agonist_assay a numeric value that specifies how large the interval should be between each value used for interpolation between the lower and upper bounds. a boolean value that specifies if the assay is an agonist or antagonist assay. a two column data.frame that contains the chemical s point of departure and the threshold value. slope_pod <- slope_pod_analysis(bmr_obj, 0.0001, 10, 0.1) pod_and_threshold <- pod_envelope_analysis(bmr_obj, slope_pod, slope_threshold = 10, min(oxybenzone$concentration), max(oxybenzone$concentration), interval_size = 0.1) pod_slope_analysis This is intended as an internal function to facilitate the identification of the concentration where the asymptote is likely to end based on a slope threshold, so that the mean of the upper confidence limit for the asymptote can be calculated. An internal function for calculating the boundary of the lower asymptote. pod_slope_analysis(pod_slope_data, slope_threshold = 10)

12 slope_pod_analysis pod_slope_data the data.frame object that contains the concentration and slope data. slope_threshold the numeric object that sets the threshold for the slope. This determines the upper bound on the concentration range that is determined to be the asymptote. In other words, the asymptote is defined as that region that has a slope less than the threshold at the lower end of the concentration-response curve. slope_pod_analysis Slope-based POD analysis This requires lower and upper limits to be specified. This is the function that calculates the slope as part of the basis for the POD. The slope is used to identify the lower bound asymptote on the concentration-response curve. slope_pod_analysis(bootstrap_metaregression_obj, lower_interpolation_range, upper_interpolation_range, interval_size) bootstrap_metaregression_obj the object that contains the bootstrap metaregression models as a bmr object. lower_interpolation_range a numeric value where the interpolation should be bounded on the lower end. upper_interpolation_range a numeric value where the interpolation should be bounded on the upper end. interval_size a numeric value that specifies how large the interval should be between each value used for interpolation between the lower and upper bounds. slope_pod a two-column data.frame object that contains the concentration (column 1) and the median slope. slope_pod <- slope_pod_analysis(bmr_obj, 0.0001, 10, 0.1)

Index Topic datasets oxybenzone, 8 aop_backdoor, 2 aop_cytoscape (aop_cytoscape-class), 3 aop_cytoscape-class, 3 bmr (bmr-class), 3 bmr-class, 3 bootstrap_metaregression, 4 calculate_confidence_and_median, 4 convert_aop_to_graph, 5 convert_cytoscape_to_aop, 6 getaopnodename, 6 getaopnodename,aop_cytoscape-method (getaopnodename), 6 internal_model_fits, 7 oxybenzone, 8 plot_metaregression_confidence_envelope, 8 plot_metaregression_spaghetti_plot, 9 plot_slope_analysis, 10 pod_envelope_analysis, 10 pod_slope_analysis, 11 slope_pod_analysis, 12 13