Skip to content

Generate synthetic microtitre plate data with common HTS artefacts

License

Notifications You must be signed in to change notification settings

Swarchal/plate_generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

plate_generator

Generate synthetic microtitre plate results with and without artefacts.

Installation

Examples

plate_generator creates plate objects, which have three main attributes:

  • plate.data: typical combination of values and any artefact
  • plate.effect: the artefact present on the plate
  • plate.noise: the values with without any artefact
import plate_generator
import matplotlib.pyplot as plt

edge_plate = plate_generator.edge_plate()

plt.imshow(edge_plate.data)

row_plate = plate_generator.row_plate()

plt.imshow(row_plate.data)

Plates can be combined with mathematical operations (+, -, *, \, ...)

combined = row_plate + edge_plate

plt.imshow(combined.data)

The artefacts can be separated from the noise.

plt.subplot(211)
plt.imshow(combined.effect)
plt.title("Artefact")
plt.subplot(212)
plt.imshow(combined.noise)
plt.imshow("Noise")

About

Generate synthetic microtitre plate data with common HTS artefacts

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages