Glycogen can be detected in tissues using various staining techniques. The most common method is the Periodic Acid-Schiff (PAS) stain, which stains carbohydrates in magenta. Another method is the Best's Carmine stain, which specifically stains glycogen red. These techniques can help differentiate cells based on their glycogen content.