View source: R/Read_&_Write_Data.R
Create_CellBender_Merged_Seurat | R Documentation |
Enables easy creation of Seurat object which contains both cell bender data and raw count data as separate assays within the object.
Create_CellBender_Merged_Seurat(
raw_cell_bender_matrix = NULL,
raw_counts_matrix = NULL,
raw_assay_name = "RAW",
min_cells = 5,
min_features = 200,
...
)
raw_cell_bender_matrix |
matrix file containing the cell bender correct counts. |
raw_counts_matrix |
matrix file contain the uncorrected Cell Ranger (or other) counts. |
raw_assay_name |
a key value to use specifying the name of assay. Default is "RAW". |
min_cells |
value to supply to min.cells parameter of |
min_features |
value to supply to min.features parameter of |
... |
Extra parameters passed to |
A Seurat Object contain both the Cell Bender corrected counts ("RNA" assay) and uncorrected
counts ("RAW" assay; or other name specified to raw_assay_name
).
## Not run:
seurat_obj <- Create_CellBender_Merged_Seurat(raw_cell_bender_matrix = cb_matrix,
raw_counts_matrix = cr_matrix)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.