extract.cells: extract.cells

Description Usage Arguments Value Examples

View source: R/Functions.R

Description

Works with the .mex files. It subsets to the specified set of cells and write them into the output .mex file.

Usage

1
extract.cells(input.mex, output.mex, cells, chuncks = 50000)

Arguments

input.mex

File name of the input dataset

cells

Indices of the cells you want to extract

input.mex

File name of the output dataset

chunks

A techincal parameter, you should not really touch this. It represent how large is the chunk of cells read when sequentially pharsing the input.mex

Value

Writes to disk the subsetted dataset. Please note that if cells will be automatially sorted. For example, is cells=c(10,1), meaning that you want to extract cells 10 and 1, the oupput matrix will contain, in order, cells 1 and 10.

Examples

1
check the online tutorial at Github

zhongmicai/bigSCale2_singleCell documentation built on Nov. 5, 2019, 1:26 p.m.