ERROR:Error in x[seq_len(n)] : object of type 'S4' is not subsettable
0
0
Entering edit mode
4.4 years ago
dpc ▴ 250

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 • 2.4k views
ADD COMMENT
0
Entering edit mode

head(phyloseq) or head(physeq)?

ADD REPLY
0
Entering edit mode

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

ADD REPLY

Login before adding your answer.

Traffic: 2621 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6