This is a test version of Biostars. For the public version, visit https://www.biostars.org.
What is wrong with my scripts?

Hi, I have checked with ChatGPT but got no clue. Can anyone help me with this? Thank you very much.

# Prepare the clinical data
> clinical_data <- GDCprepare_clinic(query_clinical, clinical.info = "patient")
  |============                                                            |  17%Error in read_xml.character(xmlfile) : 
  Start tag expected, '<' not found [4]
> 
r gdc tcgabiolinks bioconductor

2 answers

add data.format="bcr xml" in the GDCquery()

Thank you so much. It works now.

an input file is not a valid XML file.

Thank you for your comments.

Log in to answer this question.