How can I change the Aldex .clr result in R to the table file which can be downloaded ?

Hello,

I've tried to transform my ASV read count files to the CLR form by using R Aldex2 packages.

I've got some results from it, but there is a problem. As below, the results are just shown line by line and there is no downloading button in the interface.

How can I change this result to the table form that could be downloaded ?

Thank you for your help in advance.

1 Like

I'm not sure what format the output is, but this is a catchall method:

sink("output.txt")

#run command that gives the output
run

#close the file
sink()

If the output is a dataframe googleing "dataframe to csv in R" should get something useable.

3 Likes

Thank you dear. I've learned a new thing and solved the problem well.