View source: R/merge_sce_list.R
prepare_sce_for_merge | R Documentation |
Helper function to prepare an SCE object for merging
prepare_sce_for_merge(
sce,
sce_name,
batch_column,
cell_id_column,
shared_features,
retain_coldata_cols,
preserve_rowdata_cols,
is_altexp = FALSE
)
sce |
The SCE object to be prepared |
sce_name |
The name of the SCE object |
batch_column |
The name of the batch column which will be added to the colData slot |
cell_id_column |
The name of the cell_id column which will be added to the colData slot |
shared_features |
A vector of features (genes) that all SCEs to be merged have in common |
retain_coldata_cols |
A vector of columns to retain in the colData slot. If columns are missing from the data, they will be filled with 'NA' values. The exceptions to this are 'barcode_column' and 'batch_column' which will be populated with respective information. |
preserve_rowdata_cols |
A vector of rowData columns which should not be renamed |
is_altexp |
Boolean if we are preparing an altExp or not. Default is 'FALSE'. If FALSE, the SCE colnames will not be modified. |
An updated SCE that is prepared for merging
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.