inferStrain: Infer strain information for mouse array

View source: R/strain.R

inferStrainR Documentation

Infer strain information for mouse array

Description

Infer strain information for mouse array

Usage

inferStrain(
  sdf,
  return.strain = FALSE,
  return.probability = FALSE,
  return.pval = FALSE,
  min_frac_dt = 0.2,
  verbose = FALSE
)

Arguments

sdf

SigDF

return.strain

return strain name

return.probability

return probability vector for all strains

return.pval

return p-value

min_frac_dt

minimum fraction of detected signal (DEFAULT: 0.2) otherwise, we give up strain inference and return NA.

verbose

print more messages

Value

a list of best guess, p-value of the best guess and the probabilities of all strains

Examples

sesameDataCache() # if not done yet
sdf <- sesameDataGet('MM285.1.SigDF')
inferStrain(sdf, return.strain = TRUE)
sdf.strain <- inferStrain(sdf)

zwdzwd/sesame documentation built on Nov. 11, 2024, 9:33 a.m.