joey711 / phyloseq

phyloseq is a set of classes, wrappers, and tools (in R) to make it easier to import, store, and analyze phylogenetic sequencing data; and to reproducibly share that data and analysis with others. See the phyloseq front page:
http://joey711.github.io/phyloseq/
577 stars 187 forks source link

How to print all samples name in phyloseq object #1159

Open bioinfonext opened 5 years ago

bioinfonext commented 5 years ago

Hi,

Could you please suggest to me how I can print the name of all samples in phyloseq object and then how I can remove the samples by name from phyloseq object?

spholmes commented 5 years ago

See https://github.com/joey711/phyloseq/issues/995 in pareticular, Have you tried

sample_names(ps)

subset_samples()

On Thu, May 30, 2019 at 2:21 PM yogeshgupt notifications@github.com wrote:

Hi,

Could you please suggest to me how I can print the name of all samples in phyloseq object and then how I can remove the samples by name from phyloseq object?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/joey711/phyloseq/issues/1159?email_source=notifications&email_token=AAJFZPLVFX7GWJRN6ZJ7T4DPYBAOPA5CNFSM4HRLWLP2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GW2IXIA, or mute the thread https://github.com/notifications/unsubscribe-auth/AAJFZPJOOWJPXAITD7ILHJTPYBAOPANCNFSM4HRLWLPQ .

-- Susan Holmes John Henry Samter Fellow in Undergraduate Education Professor, Statistics 2017-2018 CASBS Fellow, Sequoia Hall, 390 Serra Mall Stanford, CA 94305 http://www-stat.stanford.edu/~susan/

bioinfonext commented 5 years ago

thanks for your help.