is.qlist: Verify if a qlist is formatted correctly.

Description Usage Arguments Details Value See Also Examples

View source: R/qlist.R

Description

Verify if a qlist is formatted correctly.

Usage

1
is.qlist(qlist = NULL)

Arguments

qlist

A qlist object.

Details

Returns error if the object is not a list, contents are not data.frames or NA list elements or missing run labels. Warnings are generated for non standard column labels or missing attributes 'ind' and 'k'. Warnings can be fixed by running as.qlist.

Value

Nothing.

See Also

as.qlist

Examples

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

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