Skip to content

R tutorials transformation #1

@mweberr

Description

@mweberr

Hi, I am just going through your R tutorials, which are very useful to learn phyloseq package.
One question I have is about the transformation of the read into relative data.

Why do you choose the median sum and not 100 or the minimum of all samples ?

total = median(sample_sums(carbom))
  standf = function(x, t=total) round(t * (x / sum(x)))
  carbom = transform_sample_counts(carbom, standf)

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