impute_sequences: Impute allelic profiles by matching profiles in the PubMLST...

Description Usage Arguments Value Examples

View source: R/pubmlst.R

Description

Imputes missing alleles if there is a unique match in PubMLST.

Usage

1

Arguments

mlst

the allelic profiles to match as a numeric matrix or data.frame of 7 columns.

Value

A data frame of 9 columns, representing the imputed profile, the ST and the number of imputed alleles.

Examples

1
2
3
profiles <- matrix(c(2, 1, 54, NA, 4, 1,  5,
                     2, 4,  1,  2, 2, 1, NA), nrow=2, byrow=TRUE)
impute_sequences(profiles)

jmarshallnz/pubmlst documentation built on Nov. 16, 2020, 2:44 a.m.