transp {Fragman} | R Documentation |
Creating color with transparency
Description
This function takes a color and returns the same with a certain alpha grade transparency.
Usage
transp(col, alpha=0.5)
Arguments
col |
Color to be used for transparency |
alpha |
Grade of transparency desired |
Details
No major details.
Value
If arguments are correctly specified the function returns:
- $res
A new color with certain grade of transparency
References
Covarrubias-Pazaran G, Diaz-Garcia L, Schlautman B, Salazar W, Zalapa J. Fragman: An R package for fragment analysis. 2016. BMC Genetics 17(62):1-8.
Robert J. Henry. 2013. Molecular Markers in Plants. Wiley-Blackwell. ISBN 978-0-470-95951-0.
Ben Hui Liu. 1998. Statistical Genomics. CRC Press LLC. ISBN 0-8493-3166-8.
Examples
transp("red", alpha=0.5)
[Package Fragman version 1.0.9 Index]