Learn R Programming

#aspi - Analysis of Symmetry of Parasitic Infections Tools for the analysis and visualization of bilateral asymmetry in parasitic infections.

##Example data ###Observed parasite distributions

diplostomum_eyes_excl_lenses
diplostomum_lenses

###Simulated parasite distributions

simulated_asymmetry_inconsistent_bias
simulated_left_bias_heterogeneous_proportions
simulated_left_bias_homogeneous_proportions
simulated_symmetrical_infection

##Examples of usage ###Replicated g-tests of goodness of fit

g.test(diplostomum_eyes_excl_lenses)

###Exact binomial tests

eb.test(diplostomum_lenses)

###Histogram

plotHistogram(diplostomum_eyes_excl_lenses)

###Volcano plot

plotVolcano(diplostomum_eyes_excl_lenses)

Copy Link

Version

Install

install.packages('aspi')

Monthly Downloads

368

Version

0.2.0

License

GPL-3

Maintainer

Matt Wayland

Last Published

September 20th, 2016

Functions in aspi (0.2.0)

plotVolcano

Volcano plot
diplostomum_lenses

Numbers of Diplostomum metacercariae recorded from the lenses of the eyes of each of 50 ruffe.
g.test

Replicated G-tests of goodness-of-fit
aspi

ASPI: Analysis of Symmetry in Parasitic Infections
eb.test

Exact binomial tests
simulated_symmetrical_infection

Simulated data showing bilateral symmetry
simulated_asymmetry_inconsistent_bias

Simulated data showing bilateral asymmetry with insconsistent bias
plotHistogram

Plot histogram
diplostomum_eyes_excl_lenses

Numbers of Diplostomum metacercariae recorded from the eyes (excluding lenses) of each of 50 ruffe.
simulated_left_bias_heterogeneous_proportions

Simulated data showing left bias with heterogeneous proportions
simulated_left_bias_homogeneous_proportions

Simulated data for showing left bias with homogeneous proportions