seastar2counts: Convert seastar output to count data

Description Usage Arguments Value See Also Examples

View source: R/Seastar.R

Description

This function performs a simple merge between two different SEAStAR tables.

Usage

1
seastar2counts(treat.paths, id.prefix=NA, all=TRUE, uniques=0, ...)

Arguments

treat.paths

a named vector of strings of paths to 2 seastar tabular files.

id.prefix

prefix to use when naming the rownames of the merged table

all

used in the same way as the underlying merge function's all parameter.

uniques

determines the replacement value for genes which are unique to the opposite library.

...

additional paramters passed on to readSeastar

Value

a named count matrix or vector

See Also

nerge, merge

Examples

1
2
3
4
5
6
conditions <- c('ambient','plusFe')
ss.names <- caroline::nv(paste('Pgranii-',conditions,'.seastar', sep=''), conditions)

ss.paths <- caroline::nv(system.file("extdata",ss.names, package="manta"), conditions)

dfm <- seastar2counts(ss.paths)

armbrustlab/manta documentation built on Dec. 17, 2019, 12:06 a.m.