export10X: Export data into three files similar to that of 10X...

Description Usage Arguments Value Examples

Description

export10X takes a sparse matrix and then exports the object into the files that 10X data typically comes in.

Usage

1
2
3
4
export10X(obj, folder)

## S4 method for signature 'ANY,character'
export10X(obj, folder)

Arguments

obj

A sparse matrix object to be exported

folder

Which folder should the data be exported to

Value

Nothing; just text saying that it was successful or not. This function wil write files to the disk though.

Examples

1
2
3
4
5
6
file1 <- paste(system.file("extdata", package = "indRop"),
"small1.counts.tsv", sep = "/")
file2 <- paste(system.file("extdata", package = "indRop"),
"small2.counts.tsv", sep = "/")
dat <- readIndrop(c(file1,file2))
export10X(dat, "dataFolder")

caleblareau/indRop documentation built on May 29, 2019, 1:17 p.m.