|
a |
|
b/man/modulateImage.Rd |
|
|
1 |
% Generated by roxygen2: do not edit by hand |
|
|
2 |
% Please edit documentation in R/allgenerics.R, R/image.R |
|
|
3 |
\name{modulateImage} |
|
|
4 |
\alias{modulateImage} |
|
|
5 |
\alias{modulateImage,VoltRon-method} |
|
|
6 |
\alias{modulateImage,vrAssay-method} |
|
|
7 |
\alias{modulateImage,vrAssayV2-method} |
|
|
8 |
\alias{modulateImage,vrImage-method} |
|
|
9 |
\alias{modulateImage,vrSpatial-method} |
|
|
10 |
\title{modulateImage} |
|
|
11 |
\usage{ |
|
|
12 |
modulateImage(object, ...) |
|
|
13 |
|
|
|
14 |
\S4method{modulateImage}{VoltRon}( |
|
|
15 |
object, |
|
|
16 |
assay = NULL, |
|
|
17 |
name = NULL, |
|
|
18 |
reg = FALSE, |
|
|
19 |
channel = NULL, |
|
|
20 |
brightness = 100, |
|
|
21 |
saturation = 100, |
|
|
22 |
hue = 100, |
|
|
23 |
force = FALSE |
|
|
24 |
) |
|
|
25 |
|
|
|
26 |
\S4method{modulateImage}{vrAssay}( |
|
|
27 |
object, |
|
|
28 |
name = NULL, |
|
|
29 |
reg = FALSE, |
|
|
30 |
channel = NULL, |
|
|
31 |
brightness = 100, |
|
|
32 |
saturation = 100, |
|
|
33 |
hue = 100, |
|
|
34 |
force = FALSE |
|
|
35 |
) |
|
|
36 |
|
|
|
37 |
\S4method{modulateImage}{vrAssayV2}( |
|
|
38 |
object, |
|
|
39 |
name = NULL, |
|
|
40 |
reg = FALSE, |
|
|
41 |
channel = NULL, |
|
|
42 |
brightness = 100, |
|
|
43 |
saturation = 100, |
|
|
44 |
hue = 100, |
|
|
45 |
force = FALSE |
|
|
46 |
) |
|
|
47 |
|
|
|
48 |
\S4method{modulateImage}{vrImage}( |
|
|
49 |
object, |
|
|
50 |
channel = NULL, |
|
|
51 |
brightness = 100, |
|
|
52 |
saturation = 100, |
|
|
53 |
hue = 100, |
|
|
54 |
force = FALSE |
|
|
55 |
) |
|
|
56 |
|
|
|
57 |
\S4method{modulateImage}{vrSpatial}( |
|
|
58 |
object, |
|
|
59 |
channel = NULL, |
|
|
60 |
brightness = 100, |
|
|
61 |
saturation = 100, |
|
|
62 |
hue = 100, |
|
|
63 |
force = FALSE |
|
|
64 |
) |
|
|
65 |
} |
|
|
66 |
\arguments{ |
|
|
67 |
\item{object}{a VoltRon, vrAssay or vrSpatial object.} |
|
|
68 |
|
|
|
69 |
\item{...}{arguments passed to other methods.} |
|
|
70 |
|
|
|
71 |
\item{assay}{assay name (exp: Assay1) or assay class (exp: Visium, Xenium), see \link{SampleMetadata}. |
|
|
72 |
if NULL, the default assay will be used, see \link{vrMainAssay}.} |
|
|
73 |
|
|
|
74 |
\item{name}{the name of the image} |
|
|
75 |
|
|
|
76 |
\item{reg}{TRUE if registered coordinates of the main image (\link{vrMainSpatial}) is requested} |
|
|
77 |
|
|
|
78 |
\item{channel}{the name of the channel associated with the image} |
|
|
79 |
|
|
|
80 |
\item{brightness}{modulation of brightness as percentage of the current value (100 for no change)} |
|
|
81 |
|
|
|
82 |
\item{saturation}{modulation of saturation as percentage of the current value (100 for no change)} |
|
|
83 |
|
|
|
84 |
\item{hue}{modulation of hue is an absolute rotation of -180 degrees to +180 degrees from the current position corresponding to an argument range of 0 to 200 (100 for no change)} |
|
|
85 |
|
|
|
86 |
\item{force}{if TRUE, all channels will be modulated given no specific channel name} |
|
|
87 |
} |
|
|
88 |
\description{ |
|
|
89 |
Modulating Magick images |
|
|
90 |
} |