View source: R/03_panel_merging.R
| salvage_problematic | R Documentation | 
This function imputes the expression values for a single channel based on the information in the other channels. The purpose is to be able to salvage a misstained channel in single batches of an experiment
salvage_problematic( df, correct_batches, channel, sample_size = NULL, exclude = NULL, xdim = 8, ydim = 8, seed = 482 )
df | 
 Dataframe with expression values  | 
correct_batches | 
 Batches with misstaining (or other problem) for which to perform the imputation of 'channel'  | 
channel | 
 Channel (marker) to impute  | 
sample_size | 
 Number of cells to base imputation on - defaults to all cells in df not in 'correct_batches'  | 
exclude | 
 Channels to exclude (e.g. other misstained channels not to be used for imputation)  | 
xdim | 
 The x-dimension size of the SOM.  | 
ydim | 
 The y-dimension size of the SOM.  | 
seed | 
 The seed to use when creating the SOM.  | 
Other merging: 
impute_across_panels()
## Not run: df_fixed <- df %>% salvage_problematic(correct_batches = 1, channel = 'CD127') ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.