plate_layout_Axion12_LAa.R 1.3 KB

12345678910111213141516171819202122232425262728
  1. # Laura Aarnos 211118
  2. # Create new plate layout for meaRtools - Axion12
  3. # Original code from meaRtools: Reading in MEA data
  4. #library(IGM.MEA)
  5. library(meaRtools) #attach meaRtools after IGM.MEA to get right parameter names
  6. # name your plate layout - the name goes between ''
  7. my.name <- 'Axion12' # e.g. '1-electrode'
  8. # create plate layout for single electrode
  9. new_platelayout = list(n_well = 12, # number of wells
  10. wells = c('A1','A2','A3','A4','B1','B2','B3','B4',
  11. 'C1','C2','C3','C4'), # names of those wells, e.g. 'w1'
  12. n_well_r = 4, # number of wells / row
  13. n_well_c = 3, # number of wells / col
  14. layout = c(3, 4), # layout when plotting c(row,col), e.g. c(1,1)
  15. n_elec_r = 8, # number of electrodes / row
  16. n_elec_c = 8, # number of electrodes /col
  17. xlim = c(-100, 7100), # xlimits for plotting, e.g. c(-1,2)
  18. ylim = c(0, 5300), # ylimits for plotting, e.g. c(-1,2)
  19. spacing = 200, # distance (um) separating electrodes
  20. corr_breaks = 0 # vector of correlation distances (I used 0)
  21. )
  22. add_plateinfo(my.name, new_platelayout)