Star Wars as a microarray experiment
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
plots
README.md
exemplar_plots.R
post_combat_tests.R
prepare_data.R
process_t_test_results.R
run_combat.R
run_pca.R
screencapture.scpt
test_batch_effects.R
visualize_corrected_values.R
visualize_differences.R
visualize_pca.R
visualize_post_combat_t_tests.R
visualize_t_test_results.R

README.md

Correcting for Batch Effects in the Star Wars Trilogies

Have you ever wanted to treat Star Wars like a microarray experiment? I have, and one day I decided to go through with it. For more details, see my blogpost.

Before after

The three most essential scripts are screencapture.scpt, prepare_data.R and run_combat.R. screencapture.scpt is an AppleScript that takes screenshots of a movie at 60 second intervals. After taking the screenshots, the data is converted to matrix format with prepare_data.R. run_combat.R runs the batch-correction method ComBat. Other scripts are more of a bonus for visualization.

Colour Spectrum

Spatial arrangement Channel histograms