join_align: Join various multialignments into one combined dataframe

Description Usage Arguments Details Value Author(s)

View source: R/join_align.R

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

1
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>


qlcData documentation built on May 2, 2019, 8:29 a.m.