You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying the use the function network.2 of the ggClusterNet package and I am getting this error: Error in h(simpleError(msg, call)) :
error in evaluating the argument 'object' in selecting a method for function 'sample_data': undefined columns selected
Hello,
I am trying the use the function network.2 of the ggClusterNet package and I am getting this error: Error in h(simpleError(msg, call)) :
error in evaluating the argument 'object' in selecting a method for function 'sample_data': undefined columns selected
Here is my code:
#Phyloseq
compost_OTU <- otu_table(otus, taxa_are_rows=T)
compost_metadat <- sample_data(metadat,errorIfNULL=TRUE)
compost_taxo <- tax_table(as.matrix(taxon), errorIfNULL=TRUE)
data16s <- phyloseq(compost_taxo,compost_OTU,compost_metadat)
Construct the network using Network.2()
result = network.2(ps = data16s,N = 100,r.threshold=0.6,big = T,
select_layout = T,
p.threshold=0.05,label = FALSE,path = path ,zipi = F)
Can you please help me figure out where the problem is?
Here is a part of my metadat:
compost_metadat
Sample Data: [30 samples by 2 sample variables]:
field ID
C7.C.1.Dairy conventional C7.C.1.Dairy
C8.C.2.Control conventional C8.C.2.Control
C9.C.3.Plant conventional C9.C.3.Plant
Thank you in Advance
The text was updated successfully, but these errors were encountered: