View source: R/scAPAtrap_funlib.R
convertAPAtrapData | R Documentation |
Given peaks' count and annotation file, this function can filter peaks with low expression levels and generate different types of objects, including data.frame (df), list with data.frame peaks.meta and Sparse Matrix peaks.count (list), SeuratObject (Seurat), SingleCellExperiment (sce), movAPA's PACdataset (PAC).
convertAPAtrapData(traplist, oformat, ...)
traplist |
A list with data.frame peaks.meta and Sparse Matrix peaks.count generated by generatescExpMa. |
oformat |
A character string of df/seurat/sce/pac to generate different types of objects: data.frame (df), SeuratObject (Seurat), SingleCellExperiment (sce), movAPA's PACdataset (PAC). Generally, the output includes peaks.count (SparseMatrix) and peaks.meta (peakID/chr/start/end/strand/coord). oformat=df may be problematic when the peak-cell matrix is very large. If oformat=df failed, please set oformat to other strings to represent the peak-cell counts matrix as Sparse Matrix. |
... |
Arguments passed to other methods and/or advanced arguments. Advanced arguments:
|
## Not run:
convertAPAtrapData(from=peakslist, to='pac')
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.