[R] FOR TAKING PERCENTAGES of OTUS in each column (n=2910 COLUMNs)

Jeff Newmiller jdnewmil at dcn.davis.ca.us
Tue Mar 7 07:46:30 CET 2017

If your problem really requires genetics jargon to be expressed, then perhaps you should be asking it in a forum where more of the participants are likely to understand it... like the Bioconductor help forum?


The Posting Guide mentioned in the footer has quite a lot of helpful context for the kinds of questions that are appropriate here... I recommend reading it.
Sent from my phone. Please excuse my brevity.

On March 6, 2017 5:16:16 PM PST, Thilini Maddegoda Vidanelage <tmad109 at aucklanduni.ac.nz> wrote:
>I am analyzing a huge excel table with OTUs. In the table, I have 2910
>columns and 365 rows.Each column represents one individual (n=2910).
>represent microbial species (n=365).
>I have the total of all OTUs of microbial species under each column.
>Then I
>need to get the percentages of each species in each individual.I
>started to
>do this in excel but I have to repeat this for 2910 times which is
>going to
>be very time-consuming.  I am sure there should be a smart way to do
>and just wondering whether there is any R script to do this.Any help is
>much appreciated.
>Many thanks, Thilini
>*Thilini Jayasinghe*
>PhD Candidate
>Liggins Institute
>The University of Auckland
>Building 503/201, 85 Park Road, Grafton, Auckland 2023
>Mobile: +64 220211604
>Email: tmad109 at aucklanduni.ac.nz
>	[[alternative HTML version deleted]]
>R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
>PLEASE do read the posting guide
>and provide commented, minimal, self-contained, reproducible code.

More information about the R-help mailing list