Description Usage Arguments Value Examples
Takes in a ranges_df dataframe and makes a plot (for pLigand).
| 1 | plot_ranges_pLigand(ranges, ylim = c(1, 14), by = 1, ylab = "pLigand")
 | 
| ranges | A dataframe of ranges with at least these columns: 'Sensor_Name': the name of the sensor 'Minimum': the minimum pLigand measurable at the given inaccuracy 'Maximum': the maximum pLigand measurable at the given inaccuracy 'Inaccuracy': the inaccuracy associated with this row (relative) 'error_thresh': the error threshold associated with this row | 
| ylim | The limits of the ranges plot | 
| by | the 'by' argument of the limits axis tick marks | 
| ylab | The label of the ranges plot | 
A ggplot object
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | error_df <- create_error_df_pLigand_multiple(
  c(0.01, 0.02), 2, 10,
  data.frame(
    "Rmin" = c(1, 2),
    "Rmax" = c(5, 6),
    "delta" = c(0.2, 1.2),
    "name" = c("normal", "plusOne"),
    "pKd" = c(7, 8)
  ),
  ligand_name = "NADPH"
)
ranges_df <- create_ranges_multiple(error_df,
  parameter = "NADPH",
  thresholds = c(0.01, 0.05, 0.10, 0.15, 0.20)
)
plot_ranges_pLigand(ranges_df, ylab = "pNADPH")
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.