Description Usage Arguments Value
View source: R/psBlockResults.R
Prepare the phyloseq object for the Bayesian inference
1 2 3 4 5 6 7 8 | psBlockResults(
ps,
sampleTypeVar = "Sample_Type",
caselevels = "Plasma",
controllevel = "Control",
sampleName = "SampleCode",
blockVar = "block"
)
|
ps |
phyloseq object. |
sampleTypeVar |
character, variable defines the specimen samples and control samples in the sample data of phyloseq. |
caselevels |
character vector, levels (types) of the specimen-samples, e.g. 'healthy plasma' and 'sick plasma'. |
controllevel |
character, level of the control samples, e.g. 'control' |
sampleName |
character, variable defines the sample names in the sample data of phyloseq. This should match sample_names() of phyloseq. |
blockVar |
character, variable defines the block of the samples in the sample data of phyloseq. If there is only one block, you need to create a variable with only one level. |
A list of phyloseq objects, phyloseq of negative control samples by block, phyloseq of taxa with prevalence zero in negative control samples by block, phyloseq of specimen-samples by block.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.