print.bioCond | R Documentation |
bioCond
ObjectThis function prints its argument, which is a bioCond
object,
and returns it invisibly (via invisible(x)
).
## S3 method for class 'bioCond' print(x, ...)
x |
A |
... |
Arguments passed from other methods. |
This function implements the print
method for the
"bioCond"
class.
The function returns x
invisibly.
bioCond
for creating a bioCond
object.
data(H3K27Ac, package = "MAnorm2") attr(H3K27Ac, "metaInfo") ## Print bioConds that correspond to individuals. # Perform the MA normalization and construct bioConds to represent # individuals. norm <- normalize(H3K27Ac, 4, 9) norm <- normalize(norm, 5:6, 10:11) norm <- normalize(norm, 7:8, 12:13) conds <- list(GM12890 = bioCond(norm[4], norm[9], name = "GM12890"), GM12891 = bioCond(norm[5:6], norm[10:11], name = "GM12891"), GM12892 = bioCond(norm[7:8], norm[12:13], name = "GM12892")) autosome <- !(H3K27Ac$chrom %in% c("chrX", "chrY")) conds <- normBioCond(conds, common.peak.regions = autosome) # Print these bioConds. print(conds[[1]]) print(conds[[2]]) print(conds[[3]])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.