generate10Xdata: generate10Xdata

View source: R/utils.R

generate10XdataR Documentation

generate10Xdata

Description

Generate a 10X-like data folder based on the data matrix and gene information, which can be used directly to perform scCancer analysis.

Usage

generate10Xdata(matrix, gene.info, outPath, overwrite = F)

Arguments

matrix

A gene-cell matrix or data.frame.

gene.info

A data.frame of gene information. It should contain two columns, the first is gene Ensemble ID, and the second is gene symbol. The order of the genes should be consistant with the row order of 'matrix'.

outPath

A path to save the output files.

overwrite

If TRUE and the output file already exists, the file is silently overwritten, otherwise an exception is thrown. The default is "FALSE".


wguo-research/scCancer documentation built on May 26, 2024, 9:12 p.m.