Learn R Programming

PALMO (version 0.1.2)

variancefeaturePlot: variancefeaturePlot Function

Description

This function allows user to plot variance observed in the data by provided featureList

Usage

variancefeaturePlot(
  data_object = NULL,
  vardata = NULL,
  featureSet = "PTID",
  Residual = FALSE,
  top_n = 15,
  cols = NULL,
  ncol = NULL
)

Value

variance plot list

Arguments

data_object

Input PALMO S4 object. It contains annotation information and expression data from Bulk or single cell data.

vardata

Variance result obtained from lmeVariance function

featureSet

Column of interest to focus on, Default is 'PTID'

Residual

Add residual in plot, Default FALSE

top_n

Number of top features to show. Default is 10.

cols

The colors associated with features. Default is NULL.

ncol

Plot_grid number of plot columns.

Examples

Run this code
if (FALSE) {
variancefeaturePlot(data_object=palmo_obj, top_n=15)
}

Run the code above in your browser using DataLab