variancefeaturePlot: variancefeaturePlot Function

View source: R/variancefeaturePlot.R

variancefeaturePlotR Documentation

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
)

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.

Value

variance plot list

Examples

## Not run: 
variancefeaturePlot(data_object=palmo_obj, top_n=15)

## End(Not run)

PALMO documentation built on Aug. 18, 2022, 1:06 a.m.