import: Imports data from CSV files

Description Usage Arguments Value Author(s) See Also Examples

View source: R/import.R

Description

Accepts csv filenames and reads them into a structured list for use in downstream analyses.

Usage

1
import(vn, vs, bn, bs)

Arguments

vn

Vector of filenames for empty (v)ector under (n)onselective conditions

vs

Vector of filenames for empty (v)ector under (s)elective conditions

bn

Vector of filenames for (b)ait under (n)onselective conditions

bs

Vector of filenames for (b)ait under (s)selective conditions

Value

This function is essentially a wrapper for the readDEEPN function, returning a list of objects:

Vector

Empty vector counts

Bait

Bait counts

multiBait

Logical indicator for whether multiple baits are involved

vtr

Total mapped reads (vector)

btr

Total mapped reads (bait)

Author(s)

Patrick Breheny

See Also

readDEEPN, applyFilter, overdisp

Examples

1
2
3
4
5
6
7
8
# Should set up demo data
## Not run: 
vn <- c("file1.csv", "file2.csv")
vs <- c("file3.csv", "file4.csv")
bn <- "file5.csv"
bs <- "file6.csv"
Data <- import(vn, vs, bn, bs)
## End(Not run)

pbreheny/deepn documentation built on May 11, 2020, 3:49 a.m.