summarize_probedata: Summarize probedata

Description Usage Arguments Value Author(s) References Examples

View source: R/summarize_probedata_hitchip.R

Description

Summarize phylogenetic microarray probe-level data from given input folder.

Usage

1
2
summarize_probedata(data.dir = NULL, probedata = NULL, taxonomy = NULL,
  level, method, probe.parameters = NULL)

Arguments

data.dir

Data folder.

probedata

probe-level data matrix in absolute domain

taxonomy

probe taxonomy

level

Summarization level

method

Summarization method

probe.parameters

Precalculater probe parameters. Optional.

Value

data matrix (taxa x samples)

Author(s)

Contact: Leo Lahti microbiome-admin@googlegroups.com

References

See citation('microbiome')

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
## Not run: 
#library(microbiome)
#data.directory <- system.file("extdata", package = "microbiome")
# Read oligo-level data (here: simulated example data)
#probedata <- read_hitchip(data.directory, method = "frpa")$probedata
# Read phylogeny map
# NOTE: use phylogeny.filtered for species/L1/L2 summarization
# Load taxonomy from output directory
#taxonomy <- GetPhylogeny("HITChip", "filtered")
# Summarize oligos into higher level phylotypes
#dat <- summarize_probedata(
#                 probedata = probedata,
#		 taxonomy = taxonomy, 
#                method = "rpa",
#		 level = "species")
#
## End(Not run)

RPA documentation built on Nov. 8, 2020, 7:47 p.m.