Learn R Programming

MLMOI (version 0.1.2)

Estimating Frequencies, Prevalence and Multiplicity of Infection

Description

The implemented methods reach out to scientists that seek to estimate multiplicity of infection (MOI) and lineage (allele) frequencies and prevalences at molecular markers using the maximum-likelihood method described in Schneider (2018) , and Schneider and Escalante (2014) . Users can import data from Excel files in various formats, and perform maximum-likelihood estimation on the imported data by the package's moimle() function.

Copy Link

Version

Install

install.packages('MLMOI')

Monthly Downloads

142

Version

0.1.2

License

GPL-3

Maintainer

Meraj Hashemi

Last Published

December 21st, 2023

Functions in MLMOI (0.1.2)

corrector_string

Removes punctuation characters and typos from data entries
moi_duplicatefinder

Finds forbidden sample ID repetitions
moi_labels

Finds sample IDs contained in a dataset
moi_marker

Extracts lineages of samples at a specific marker
moi_metadata

Checks the metadata entries
moi_nk

Derives lineage prevalence counts
moi_prerequisite

Contains different character vectors needed for importing molecular dataset
moi_mergemetadata

Merges metadata
moi_empty

Reports and deletes empty rows/columns
moi_export

Exports the dataset in standard format to a new excel file.
moi_separator

Finds the most frequent separator
moimle

Estimates prevalences, frequency spectra and MOI parameter.
tempMLMOI

tempMLMOI: An R package for deriving multiplicity of infection (MOI) from molecular data.
moimport

Imports molecular data in various formats and transforms them into a standard format.
moi_warning

Writes warnings into a file
moimerge

Merges two molecular datasets.
withWarnings

Captures all the warnings
decoder_codon

Translates the standard ambiguity codes for nucleotides (codon decoder)
MLMOI

MLMOI: An R Package to preprocess molecular data and derive prevalences, frequencies and multiplicity of infection (MOI)
moi_administrator

Administrator function
decoder_str

Transforms entries to the desired coding class
corrector_numeric

Removes punctuation characters and typos from data entries
decoder_aminoacid

Translates the standard ambiguity codes for nucleotides (amino acid decoder)
mle

Derives MLE
decoder_snp

Converts ambeguity codes to represented bases
mle_fixed

Derives profile-likelihood MLE of lineage frequencies