Description Usage Arguments Value Examples
View source: R/refilter-identified-regions.R
Refilters the results extracted by identify_regions(). Used only in rare cases where there is some noise remaining in the result of identify_regions().
| 1 2 3 | refilter_identified_regions(input_dat, sample_labels = NULL,
  smoothing_region = NULL, smoothing_region_thresh = NULL, Dist,
  dotsize1 = 7, dotsize2 = 7)
 | 
| input_dat: | data frame of input data with rows=samles and cols=dimensions. | 
| sample_labels: | vector of TRUE/FALSE labels, one for each sample. If sample_labels[i]==TRUE, then sample i is in region of interest (e.g. branching region) | 
| smoothing_region: | number of neighbours in to consider for label filtering | 
| smoothing_region_thresh: | minimum number of thresholds with same label in the neighbourhood required for the sample to keep it's label | 
| Dist: | matrix of sample to sample distances | 
| dotsize1: | size of points of class1 (red), used when plotting in 3D | 
| dotsize2: | size of points of class2 (green), used when plotting in 3D | 
a list with elements:
- is_in_region: a logical vector indicating which samples are part of the region (TRUE) and which not (FALSE)
- is_in_region_filtered: same as 'is_in_region', but after S_neib filtering to reduce noise.
| 1 | # TODO: example coming soon...
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.