Merge replicate runs of the same K

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

Examples

sfiles <- list.files(path=system.file("files/structure",package="pophelper"), full.names=TRUE) slist <- readQ(sfiles) slist <- alignK(slist) length(slist)
#> [1] 17
length(mergeQ(slist))
#> [1] 6