pophelper (version 2.3.0)

mergeQ: Merge replicate runs of the same K

Description

Merge replicate runs of the same K

Usage

mergeQ(qlist)

Arguments

qlist

A qlist object (with aligned clusters)

Value

A merged qlist object. Runs will be ordered by K in the output. Output runs are labelled by K value.

Details

Make sure clusters are aligned between replicate runs before merging them.

See Also

alignK

Examples

Run this code
# NOT RUN {
sfiles <- list.files(path=system.file("files/structure",package="pophelper"), full.names=TRUE)
slist <- readQ(sfiles)
slist <- alignK(slist)
length(slist)
length(mergeQ(slist))
# }

Run the code above in your browser using DataCamp Workspace