Skip to content

ldamarker error #6

@Jawen-D

Description

@Jawen-D

Hi Kai,

I get this error whenever I try these scripts in R:

ps
phyloseq-class experiment-level object
otu_table() OTU Table: [ 1052 taxa and 24 samples ]
sample_data() Sample Data: [ 24 samples by 2 sample variables ]
tax_table() Taxonomy Table: [ 1052 taxa by 8 taxonomic ranks ]

pp <- ldamarker(ps, pvalue = 0.05, normalize = TRUE, method = "relative")
Normalization using relative method
Error in $<-.data.frame(*tmp*, "tax", value = character(0)) :
replacement has 0 rows, data has 25248

May I ask some advice on how to resolve this.

Thanks
James

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions