Cannabis Indica

Original file(SVG file, nominally 450 × 270 pixels, file size: 107 KB)

Summary

Description
English: Graph of the Hill-Langmuir equation with different values of n
Date
Source Own work
Author D Wells
SVG development
InfoField
 
The SVG code is valid.
 
This plot was created with R.
 
The file size of this SVG plot may be irrationally large because its text has been converted to paths inhibiting translations.
Source code
InfoField

R code

library(ggplot2)
library(data.table)
ka_c=0.75

hill <- function(l, n=1, ka=ka_c){
  1 / (1 + (ka/l)^n)
}

ligand_conc = c(0, exp(seq(log(0.001), log(1.75), by=0.01)))

data <- rbind(data.table(ligand_conc, fraction=hill(ligand_conc, 0.2), n=0.2),
              data.table(ligand_conc, fraction=hill(ligand_conc, 0.5), n=0.5),
              data.table(ligand_conc, fraction=hill(ligand_conc, 1), n=1),
              data.table(ligand_conc, fraction=hill(ligand_conc, 2), n=2),
              data.table(ligand_conc, fraction=hill(ligand_conc, 4), n=4))

svg(height=3, width=5)
ggplot(data, aes(ligand_conc, fraction, colour=forcats::fct_reorder2(as.factor(n), ligand_conc, fraction), group=n)) + 
  geom_line(data = data.table(ligand_conc=c(0.001, ka_c, ka_c), fraction=c(0.5,0.5,0), n=NA), colour="blue", linetype="dashed") +
  annotate("text", x = ka_c*1.1, y = 0.1, label = expression(italic(K[A])), colour="blue") +
  geom_line(size=1) + 
  coord_cartesian(xlim = c(-0.01,1.75), ylim = c(-0.01, 1), expand=F) +
  scale_colour_manual(values = c("black","#BD0026","#F03B20","#FD8D3C","#FECC5C"), name="Hill\nCoefficient") +
  ylab("Fraction of receptor bound by ligand") +
  xlab("Free Ligand Concentration") +
  theme_classic()
dev.off()

Licensing

I, the copyright holder of this work, hereby publish it under the following license:
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 4.0 International license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.

Captions

Graph of the Hill-Langmuir equation with different values of n

Items portrayed in this file

depicts

Hill equation

creator

some value

author name string: D Wells
Wikimedia username: D Wells

copyright status

copyrighted

copyright license

Creative Commons Attribution-ShareAlike 4.0 International

source of file

original creation by uploader

inception

27 April 2020

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current12:42, 27 April 2020Thumbnail for version as of 12:42, 27 April 2020450 × 270 (107 KB)D WellsUploaded own work with UploadWizard
The following pages on the English Wikipedia use this file (pages on other projects are not listed):

Metadata

Leave a Reply