ConvertDropSeqfolders | R Documentation |
This function takes a parent directory with a number of subfolders, each containing the standard output of 10X Cell Ranger. It (1) loads the filtered data matrices, (2) converts them to Seurat objects, and (3) saves them as .RDS files.
ConvertDropSeqfolders(
InputDir,
folderPattern = "SRR*",
filePattern = "expression.tsv.gz",
useVroom = TRUE,
col_types.vroom = list(GENE = "c", .default = "d"),
min.cells = 10,
min.features = 200,
updateHGNC = TRUE,
ShowStats = TRUE,
minDimension = 10,
overwrite = FALSE
)
InputDir |
A character string specifying the input directory. |
folderPattern |
A character string specifying the pattern of folder names to be searched. Default: 'SRR*'. |
filePattern |
A character string specifying the pattern of file names to be searched. Default: 'expression.tsv.gz'. |
useVroom |
A logical value indicating whether to use vroom. Default: |
col_types.vroom |
A list defining column types for vroom. Default: list("GENE" = "c", .default = "d"). |
min.cells |
An integer value specifying the minimum number of cells. Default: 10. |
min.features |
An integer value specifying the minimum number of features. Default: 200. |
updateHGNC |
A logical value indicating whether to update the HGNC. Default: |
ShowStats |
A logical value indicating whether to show statistics. Default: |
minDimension |
An integer value specifying the minimum dimension. Default: 10. |
overwrite |
A logical value indicating whether to overwrite files. Default: |
vroom
read_delim
## Not run:
if (interactive()) {
ConvertDropSeqfolders(InputDir = InputDir)
}
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.