Question: Aggregate By Taxonomy Error
0
gravatar for nhuda6
3.4 years ago by
nhuda60
nhuda60 wrote:

Hey,

I am getting trouble with aggregating my data. Please suggest me how to aggregate the data by a level say for example "genus". Please see the command and error message below.

==========

Command 

==========

> MSOTrimG = aggTax(MSO, lvl="genus", out = "MRexperiment")

=============

Error message 

=============

Error in `[.data.frame`(fData(obj), , lvl) : undefined columns selected

 

Regards,

Nazmul

 

metagenomeseq • 397 views
ADD COMMENTlink modified 3.4 years ago by Joseph Nathaniel Paulson270 • written 3.4 years ago by nhuda60
Answer: Aggregate By Taxonomy Error
0
gravatar for Joseph Nathaniel Paulson
3.4 years ago by
United States
Joseph Nathaniel Paulson270 wrote:

Hi Nazmul,

What are the column names of the featureData slot? 

colnames(fData(MSO))

You need to use one of those names, or alternatively a vector of your choosing of size nrow(MSO).

ADD COMMENTlink written 3.4 years ago by Joseph Nathaniel Paulson270
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 166 users visited in the last hour