cmf-methods: Methods for cmf results lists

Description Usage Arguments See Also Examples

Description

Plotting, summarising, and printing cmf objects

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
## S3 method for class 'cmf'
plot(x, select, line = TRUE, labelSelected = TRUE,
  defaultColour = "#00008b", highlightColour = "#e2bd36", ...)

## S3 method for class 'cmf'
screeplot(x, topn, ...)

## S3 method for class 'cmf'
summary(object, ...)

## S3 method for class 'cmf'
print(x, ...)

Arguments

x

cmf object

select

optional selection vector of variables to show

line

whether to show a line at the chosen cutoff

labelSelected

whether to label the selected mediators in the plot, not used when fewer than 20 bars are shown.

defaultColour

the colour for the bars lower than the cutoff

highlightColour

the colour for the bars of the selected mediators

...

other arguments passed to barplot and summary

topn

only show the top n mediators

object

cmf object

See Also

cmf

Examples

1
2
3
4
5
6
7
# generate some data
dat <- generateMed(a = (1:10)/20, b = (1:10)/20)
res <- cmf(dat)
# screeplot of the result
screeplot(res)
# manhattan style plot the result
plot(res)

cmfilter documentation built on April 11, 2019, 5:07 p.m.