powered by
This function takes 10X data files barcodes.tsv, genes.tsv and matrix.mtx and converts them to proper matrix file for iCellR.
load10x(dir.10x = NULL, gene.name = 2)
A directory that includes the 10X barcodes.tsv, genes.tsv and matrix.mtx files.
Gene names or ids column number, default = 2.
The data frame object
# NOT RUN { my.data <- load10x(system.file("extdata", "filtered_gene_bc_matrices", package = "iCellR")) # See first few rows and columns head(my.data)[1:5] # }
Run the code above in your browser using DataLab