Closed kfontanez closed 10 years ago
Hi Kristina!
Thanks for the comment. The code to do what you're asking would be (assuming 1) the Genus/Class are the labels and 2) you need to split the vector with a comma). If you can provide an example of the output when you display the MRexperiment object I can give a more concise response:
obj = Morethan10_obj gen = strsplit(as.character(fData(obj)$Genus),split=",") cls = strsplit(as.character(fData(obj)$Class),split=",") taxa = paste(cls,gen,sep=":") MRcoefs(fit,taxa=taxa,coef=2,adjust.method="fdr",uniqueNames=TRUE)
Please reopen the ticket if this doesn't help.
I used the MRcoefs function to print the differentially abundant features in my dataset. However, I am only able to see one column of my taxonomic ranks which is not helpful for taxa that don't have a name at that rank (in this case, Genus). Is it possible to output multiple columns for example $Class and $Genus at the same time?
code:
Thank you! Kristina