seastar2counts {manta} | R Documentation

## Convert seastar output to count data

### Description

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

### Usage

    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

    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)

[Package manta version 1.26.0 Index]