When drawing heatmap using "qiime feature-table heatmap", is it necessary to enter "--m-metadata-column"?

Hi,

I am a new learner of qiime2 and I am now trying to make a heatmap using the “moving picture tutorial” after the taxa collapse step. As is indicated in “qiime feature-table heatmap --help”, the “–m-metadata-column” is optional:

–m-metadata-column MetadataColumn[Categorical]
Column from metadata file or artifact
viewable as metadata. Annotate the sample
IDs with these metadata values. When
metadata is present and cluster=‘feature’,
samples will be sorted by the metadata
values. [optional]

However, without the --m-matadata-column, the terminal returned:

Error: Missing option: --m-metadata-column

I do not need the column information in the heatmap. What should I do?

Kind regards

Hong

Hi @Yao_Hong,
Inputting a metadata file and column is indeed optional. My guess is that you are inputting a metadata file but not specifying the column… this will cause the error you are seeing. If that’s the case and you do not want to use any metadata to generate this plot, just drop the metadata file from your inputs. If that’s not the case, please share the full command you are using.

2 Likes

Hi Nicholas,

Thank you to help me!!!

1 Like

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.