View source: R/removeSamples.R
removeSample | R Documentation |
Remove sample(s) from SpatialOverlay
removeSample(overlay, remove)
overlay |
SpatialOverlay object |
remove |
sampNames of overlay to remove |
SpatialOverlay object without samples in remove
muBrain <- readRDS(unzip(system.file("extdata", "muBrainSubset_SpatialOverlay.zip",
package = "SpatialOmicsOverlay")))
muBrainLW <- system.file("extdata", "muBrain_LabWorksheet.txt",
package = "SpatialOmicsOverlay")
muBrainLW <- readLabWorksheet(muBrainLW, slideName = "D5761 (3)")
samps <- muBrainLW$Sample_ID[muBrainLW$segment != "Full ROI"]
muBrainSub <- removeSample(overlay = muBrain, remove = samps)
muBrain
muBrainSub
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.