check.libsize: Library size validator

Description Usage Arguments Author(s) Examples

View source: R/metaseqr.argcheck.R

Description

Checks the names of the supplied library sizes. Internal use only.

Usage

1
    check.libsize(libsize.list, sample.list)

Arguments

libsize.list

the samples-names library size list.

sample.list

the input sample list.

Author(s)

Panagiotis Moulos

Examples

1
2
3
4
5
6
7
sample.list <- list(A=c("A1","A2"),B=c("B1","B2","B3"))
libsize.list.1 <- list(A1=1e+6,A2=1.1e+6,B1=1.2e+6,
B2=1.3e+6,B3=1.5e+6)
libsize.list.2 <- list(A1=1e+6,A2=1.1e+6,B1=1.2e+6,
B2=1.3e+6)
check.libsize(libsize.list.1,sample.list) # Will work
#check.libsize(libsize.list.2,sample.list) # Will throw error!

pmoulos/metaseqr documentation built on Dec. 29, 2020, 5:56 a.m.