mergeQ: Merge replicate runs of the same K

Description Usage Arguments Details Value See Also Examples

View source: R/qlist.R

Description

Merge replicate runs of the same K

Usage

1
mergeQ(qlist)

Arguments

qlist

A qlist object (with aligned clusters)

Details

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

Value

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

See Also

alignK

Examples

1
2
3
4
5
sfiles <- list.files(path=system.file("files/structure",package="pophelper"), full.names=TRUE)
slist <- readQ(sfiles)
slist <- alignK(slist)
length(slist)
length(mergeQ(slist))

royfrancis/pophelper documentation built on Jan. 1, 2021, 4:58 p.m.