join_align {qlcData}R Documentation

Join various multialignments into one combined dataframe

Description

Multialignments are mostly stored in separate files per cognateset. This function can be used to bind together a list of multialignments read by read_align.

Usage

join_align(alignments)

Arguments

alignments

A list of objects as returned from read_align.

Details

The alignments have to be reordered for this to work properly. Also, duplicate data (i.e. multiple words from the same language) will be removed. Simply the first occurrence is retained. This is not ideal, but it is currently the best and easiest solution.

Value

The result will be a dataframe with doculects as rows and alignments as columns.

Author(s)

Michael Cysouw <cysouw@mac.com>


[Package qlcData version 0.3 Index]