This is a test version of Biostars. For the public version, visit https://www.biostars.org.
ERROR:Error in x[seq_len(n)] : object of type 'S4' is not subsettable

Hi community!!! I am a novice in R package and analysing mothur files with phyloseq.

I have imported mothur files with these codes:

physeq = import_mothur(mothur_shared_file = "stability.paired.trim.contigs.unique.good.filter.unique.precluster.pick.pick.opti_mcc.shared",
                               mothur_constaxonomy_file = "stability.paired.trim.contigs.unique.good.filter.unique.precluster.pick.pick.opti_mcc.0.03.cons.taxonomy")

But, after head(phyloseq), I am getting the following ERROR:

Error in x[seq_len(n)] : object of type 'S4' is not subsettable

Can anyone get me out of this?

Thanks and Regards,
DC7

heatmap phyloseq mothur 16s-rrna

head(phyloseq) or head(physeq)?

oops.... sorry.... It's head(physeq)....

0 answers

No answers yet.

Log in to answer this question.