RNA transcript profiling can be used to diagnose cancer and determine its subtype. Techniques such as RNA sequencing and microarrays allow for the examination of the entire transcriptome, identifying specific gene expression patterns associated with different cancers. These profiles help in distinguishing between cancer types, predicting patient prognosis, and informing treatment decisions.